Merge pull request #1670 from vvlladd28/improvement/flot_axis
Improvement float directory: fix autoScale and delete not support param
This commit is contained in:
commit
cc0dde69a1
@ -535,7 +535,11 @@ export default class TbFlot {
|
||||
yaxis.tickUnits = units;
|
||||
yaxis.tickDecimals = tickDecimals;
|
||||
yaxis.tickSize = tickSize;
|
||||
yaxis.alignTicksWithAxis = position == "right" ? 1 : null;
|
||||
if (position === "right" && tickSize === null) {
|
||||
yaxis.alignTicksWithAxis = 1;
|
||||
} else {
|
||||
yaxis.alignTicksWithAxis = null;
|
||||
}
|
||||
yaxis.position = position;
|
||||
|
||||
yaxis.keysInfo = [];
|
||||
@ -938,11 +942,6 @@ export default class TbFlot {
|
||||
"type": "string",
|
||||
"default": null
|
||||
},
|
||||
"titleAngle": {
|
||||
"title": "Axis title's angle in degrees",
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"color": {
|
||||
"title": "Ticks color",
|
||||
"type": "string",
|
||||
@ -975,11 +974,6 @@ export default class TbFlot {
|
||||
"type": "string",
|
||||
"default": null
|
||||
},
|
||||
"titleAngle": {
|
||||
"title": "Axis title's angle in degrees",
|
||||
"type": "number",
|
||||
"default": 0
|
||||
},
|
||||
"color": {
|
||||
"title": "Ticks color",
|
||||
"type": "string",
|
||||
@ -1048,7 +1042,6 @@ export default class TbFlot {
|
||||
"items": [
|
||||
"xaxis.showLabels",
|
||||
"xaxis.title",
|
||||
"xaxis.titleAngle",
|
||||
{
|
||||
"key": "xaxis.color",
|
||||
"type": "color"
|
||||
@ -1064,7 +1057,6 @@ export default class TbFlot {
|
||||
"yaxis.tickSize",
|
||||
"yaxis.showLabels",
|
||||
"yaxis.title",
|
||||
"yaxis.titleAngle",
|
||||
{
|
||||
"key": "yaxis.color",
|
||||
"type": "color"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user