@nebula.js/sn-pie-chart 1.25.0 → 1.25.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api-specifications/api.md +7 -2
- package/api-specifications/plugins.json +1 -1
- package/api-specifications/properties.json +120 -2
- package/core/esm/index.js +3 -3
- package/dist/sn-pie-chart.js +12 -12
- package/dist/sn-pie-chart.systemjs.js +3 -3
- package/package.json +1 -1
- package/sn-pie-chart-ext/dist/sn-pie-chart.js +12 -12
- package/sn-pie-chart-ext/sn-pie-chart.qext +1 -1
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
- [.useBaseColors](#properties.color.useBaseColors) : <code>'off'</code> \| <code>'dimension'</code> \| <code>'measure'</code>
|
|
26
26
|
- [.useDimColVal](#properties.color.useDimColVal) : <code>boolean</code>
|
|
27
27
|
- [.useMeasureGradient](#properties.color.useMeasureGradient) : <code>boolean</code>
|
|
28
|
-
- [.components](#properties.components) : [<code>Array.<
|
|
28
|
+
- [.components](#properties.components) : [<code>Array.<Component></code>](#Component)
|
|
29
29
|
- [.dataPoint](#properties.dataPoint) : <code>object</code>
|
|
30
30
|
- [.auto](#properties.dataPoint.auto) : <code>boolean</code>
|
|
31
31
|
- [.labelMode](#properties.dataPoint.labelMode) : <code>'none'</code> \| <code>'share'</code> \| <code>'value'</code>
|
|
@@ -322,7 +322,7 @@ Set to true if you want to apply the colors defined for library measures when us
|
|
|
322
322
|
**Default**: <code>true</code>
|
|
323
323
|
<a name="properties.components"></a>
|
|
324
324
|
|
|
325
|
-
### properties.components : [<code>Array.<
|
|
325
|
+
### properties.components : [<code>Array.<Component></code>](#Component)
|
|
326
326
|
|
|
327
327
|
Styling of chart components.
|
|
328
328
|
|
|
@@ -576,6 +576,11 @@ The imageComponents objects are used to define the images displayed by the custo
|
|
|
576
576
|
|
|
577
577
|
# Definitions
|
|
578
578
|
|
|
579
|
+
<a name="Component"></a>
|
|
580
|
+
|
|
581
|
+
## Component : [<code>Slices</code>](#Slices) \| [<code>Label</code>](#Label) \| [<code>Axis</code>](#Axis) \| [<code>Legend</code>](#Legend)
|
|
582
|
+
|
|
583
|
+
**Kind**: global typedef
|
|
579
584
|
<a name="AttributeExpressionProperties"></a>
|
|
580
585
|
|
|
581
586
|
## AttributeExpressionProperties : [<code>ColorAttributes</code>](#ColorAttributes) \| [<code>CustomTooltipAttributes</code>](#CustomTooltipAttributes)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-pie-chart:properties",
|
|
5
5
|
"description": "Pie chart generic object definition",
|
|
6
|
-
"version": "1.25.
|
|
6
|
+
"version": "1.25.2",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "stable",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -196,7 +196,7 @@
|
|
|
196
196
|
"description": "Styling of chart components.",
|
|
197
197
|
"kind": "array",
|
|
198
198
|
"items": {
|
|
199
|
-
"type": "#/definitions/
|
|
199
|
+
"type": "#/definitions/Component"
|
|
200
200
|
}
|
|
201
201
|
},
|
|
202
202
|
"dataPoint": {
|
|
@@ -470,6 +470,26 @@
|
|
|
470
470
|
]
|
|
471
471
|
}
|
|
472
472
|
},
|
|
473
|
+
"Axis": {
|
|
474
|
+
"kind": "object",
|
|
475
|
+
"entries": {
|
|
476
|
+
"axis": {
|
|
477
|
+
"type": "#/definitions/AxisStyling"
|
|
478
|
+
},
|
|
479
|
+
"key": {
|
|
480
|
+
"description": "This should be set to `\"axis\"` (Determines which component the settings apply to).",
|
|
481
|
+
"type": "string"
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
},
|
|
485
|
+
"AxisStyling": {
|
|
486
|
+
"kind": "object",
|
|
487
|
+
"entries": {
|
|
488
|
+
"title": {
|
|
489
|
+
"type": "#/definitions/FontStyling"
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
},
|
|
473
493
|
"byDimDef": {
|
|
474
494
|
"description": "Settings when coloring by dimension (`\"mode\": \"byDimension\"`)",
|
|
475
495
|
"kind": "object",
|
|
@@ -539,6 +559,26 @@
|
|
|
539
559
|
}
|
|
540
560
|
}
|
|
541
561
|
},
|
|
562
|
+
"Component": {
|
|
563
|
+
"kind": "alias",
|
|
564
|
+
"items": {
|
|
565
|
+
"kind": "union",
|
|
566
|
+
"items": [
|
|
567
|
+
{
|
|
568
|
+
"type": "#/definitions/Slices"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"type": "#/definitions/Label"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"type": "#/definitions/Axis"
|
|
575
|
+
},
|
|
576
|
+
{
|
|
577
|
+
"type": "#/definitions/Legend"
|
|
578
|
+
}
|
|
579
|
+
]
|
|
580
|
+
}
|
|
581
|
+
},
|
|
542
582
|
"CustomTooltipAttributes": {
|
|
543
583
|
"description": "Extends `NxAttrExprDef`, see Engine API: `NxAttrExprDef`.",
|
|
544
584
|
"extends": [
|
|
@@ -591,6 +631,20 @@
|
|
|
591
631
|
}
|
|
592
632
|
}
|
|
593
633
|
},
|
|
634
|
+
"FontStyling": {
|
|
635
|
+
"kind": "object",
|
|
636
|
+
"entries": {
|
|
637
|
+
"color": {
|
|
638
|
+
"type": "#/definitions/paletteColor"
|
|
639
|
+
},
|
|
640
|
+
"fontFamily": {
|
|
641
|
+
"type": "string"
|
|
642
|
+
},
|
|
643
|
+
"fontSize": {
|
|
644
|
+
"type": "string"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
},
|
|
594
648
|
"ImageComponent": {
|
|
595
649
|
"description": "Image component information structure.",
|
|
596
650
|
"kind": "object",
|
|
@@ -697,6 +751,70 @@
|
|
|
697
751
|
}
|
|
698
752
|
}
|
|
699
753
|
},
|
|
754
|
+
"Label": {
|
|
755
|
+
"kind": "object",
|
|
756
|
+
"entries": {
|
|
757
|
+
"key": {
|
|
758
|
+
"description": "This should be set to `\"label\"` (Determines which component the settings apply to).",
|
|
759
|
+
"type": "string"
|
|
760
|
+
},
|
|
761
|
+
"label": {
|
|
762
|
+
"type": "#/definitions/LabelStyling"
|
|
763
|
+
}
|
|
764
|
+
}
|
|
765
|
+
},
|
|
766
|
+
"LabelNameStyling": {
|
|
767
|
+
"kind": "object",
|
|
768
|
+
"entries": {
|
|
769
|
+
"name": {
|
|
770
|
+
"type": "#/definitions/FontStyling"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
},
|
|
774
|
+
"LabelStyling": {
|
|
775
|
+
"kind": "object",
|
|
776
|
+
"entries": {
|
|
777
|
+
"name": {
|
|
778
|
+
"description": "Dimension value labels",
|
|
779
|
+
"type": "#/definitions/LabelNameStyling"
|
|
780
|
+
},
|
|
781
|
+
"value": {
|
|
782
|
+
"description": "Measure value labels and share.",
|
|
783
|
+
"type": "#/definitions/LabelValueStyling"
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
},
|
|
787
|
+
"LabelValueStyling": {
|
|
788
|
+
"kind": "object",
|
|
789
|
+
"entries": {
|
|
790
|
+
"value": {
|
|
791
|
+
"type": "#/definitions/FontStyling"
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
},
|
|
795
|
+
"Legend": {
|
|
796
|
+
"kind": "object",
|
|
797
|
+
"entries": {
|
|
798
|
+
"key": {
|
|
799
|
+
"description": "This should be set to `\"legend\"` (Determines which component the settings apply to).",
|
|
800
|
+
"type": "string"
|
|
801
|
+
},
|
|
802
|
+
"legend": {
|
|
803
|
+
"type": "#/definitions/LegendStyling"
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
},
|
|
807
|
+
"LegendStyling": {
|
|
808
|
+
"kind": "object",
|
|
809
|
+
"entries": {
|
|
810
|
+
"label": {
|
|
811
|
+
"type": "LabelNameStyle"
|
|
812
|
+
},
|
|
813
|
+
"title": {
|
|
814
|
+
"type": "#/definitions/FontStyling"
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
},
|
|
700
818
|
"MasterVisualizationChart": {
|
|
701
819
|
"description": "Chart component information structure.",
|
|
702
820
|
"kind": "object",
|