Disable sorting property for numerical legend
This commit is contained in:
Родитель
b9d66a7bd5
Коммит
5c237a3333
|
@ -230,24 +230,26 @@ export abstract class LegendClass extends ChartElementClass {
|
|||
label: strings.objects.legend.markerShape,
|
||||
}
|
||||
),
|
||||
manager.label("Ordering"),
|
||||
manager.reorderWidget(
|
||||
{
|
||||
property: "order",
|
||||
},
|
||||
{
|
||||
items: this.getOrderingObjects(),
|
||||
onConfirm: (items: string[]) => {
|
||||
manager.emitSetProperty(
|
||||
{
|
||||
property: "order",
|
||||
field: null,
|
||||
this.object.classID === "legend.categorical"
|
||||
? (manager.label("Ordering"),
|
||||
manager.reorderWidget(
|
||||
{
|
||||
property: "order",
|
||||
},
|
||||
{
|
||||
items: this.getOrderingObjects(),
|
||||
onConfirm: (items: string[]) => {
|
||||
manager.emitSetProperty(
|
||||
{
|
||||
property: "order",
|
||||
field: null,
|
||||
},
|
||||
items
|
||||
);
|
||||
},
|
||||
items
|
||||
);
|
||||
},
|
||||
}
|
||||
),
|
||||
}
|
||||
))
|
||||
: null,
|
||||
]
|
||||
),
|
||||
manager.verticalGroup(
|
||||
|
|
Загрузка…
Ссылка в новой задаче