@nebula.js/sn-bar-chart 1.32.3 → 1.33.1
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 +110 -2
- package/core/esm/index.js +3 -3
- package/dist/sn-bar-chart.js +6 -6
- package/dist/sn-bar-chart.systemjs.js +3 -3
- package/package.json +1 -1
- package/sn-bar-chart-ext/dist/sn-bar-chart.js +6 -6
- package/sn-bar-chart-ext/sn-bar-chart.qext +1 -1
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
- [.useBaseColors](#properties.color.useBaseColors) : <code>'off'</code> \| <code>'dimension'</code> \| <code>'measure'</code>
|
|
28
28
|
- [.useDimColVal](#properties.color.useDimColVal) : <code>boolean</code>
|
|
29
29
|
- [.useMeasureGradient](#properties.color.useMeasureGradient) : <code>boolean</code>
|
|
30
|
-
- [.components](#properties.components) : [<code>Array.<
|
|
30
|
+
- [.components](#properties.components) : [<code>Array.<Component></code>](#Component)
|
|
31
31
|
- [.dataPoint](#properties.dataPoint) : <code>object</code>
|
|
32
32
|
- [.showLabels](#properties.dataPoint.showLabels) : <code>boolean</code>
|
|
33
33
|
- [.showSegmentLabels](#properties.dataPoint.showSegmentLabels) : <code>boolean</code>
|
|
@@ -362,7 +362,7 @@ Set to true if you want to apply the colors defined for library measures when us
|
|
|
362
362
|
**Default**: <code>true</code>
|
|
363
363
|
<a name="properties.components"></a>
|
|
364
364
|
|
|
365
|
-
### properties.components : [<code>Array.<
|
|
365
|
+
### properties.components : [<code>Array.<Component></code>](#Component)
|
|
366
366
|
|
|
367
367
|
Styling of chart components.
|
|
368
368
|
|
|
@@ -832,6 +832,11 @@ The imageComponents objects are used to define the images displayed by the custo
|
|
|
832
832
|
|
|
833
833
|
# Definitions
|
|
834
834
|
|
|
835
|
+
<a name="Component"></a>
|
|
836
|
+
|
|
837
|
+
## Component : [<code>Bar</code>](#Bar) \| [<code>Label</code>](#Label) \| [<code>Axis</code>](#Axis) \| [<code>Legend</code>](#Legend)
|
|
838
|
+
|
|
839
|
+
**Kind**: global typedef
|
|
835
840
|
<a name="AttributeExpressionProperties"></a>
|
|
836
841
|
|
|
837
842
|
## AttributeExpressionProperties : [<code>ColorAttributes</code>](#ColorAttributes) \| [<code>CustomTooltipAttributes</code>](#CustomTooltipAttributes)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-bar-chart:properties",
|
|
5
5
|
"description": "Bar chart generic object definition",
|
|
6
|
-
"version": "1.
|
|
6
|
+
"version": "1.33.1",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "stable",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
"description": "Styling of chart components.",
|
|
218
218
|
"kind": "array",
|
|
219
219
|
"items": {
|
|
220
|
-
"type": "#/definitions/
|
|
220
|
+
"type": "#/definitions/Component"
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
223
|
"dataPoint": {
|
|
@@ -790,6 +790,29 @@
|
|
|
790
790
|
]
|
|
791
791
|
}
|
|
792
792
|
},
|
|
793
|
+
"Axis": {
|
|
794
|
+
"kind": "object",
|
|
795
|
+
"entries": {
|
|
796
|
+
"axis": {
|
|
797
|
+
"type": "#/definitions/AxisStyling"
|
|
798
|
+
},
|
|
799
|
+
"key": {
|
|
800
|
+
"description": "This should be set to `\"axis\"` (Determines which component the settings apply to).",
|
|
801
|
+
"type": "string"
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
"AxisStyling": {
|
|
806
|
+
"kind": "object",
|
|
807
|
+
"entries": {
|
|
808
|
+
"label": {
|
|
809
|
+
"type": "#/definitions/LabelNameStyling"
|
|
810
|
+
},
|
|
811
|
+
"title": {
|
|
812
|
+
"type": "#/definitions/FontStyling"
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
},
|
|
793
816
|
"Bar": {
|
|
794
817
|
"kind": "object",
|
|
795
818
|
"entries": {
|
|
@@ -906,6 +929,26 @@
|
|
|
906
929
|
}
|
|
907
930
|
}
|
|
908
931
|
},
|
|
932
|
+
"Component": {
|
|
933
|
+
"kind": "alias",
|
|
934
|
+
"items": {
|
|
935
|
+
"kind": "union",
|
|
936
|
+
"items": [
|
|
937
|
+
{
|
|
938
|
+
"type": "#/definitions/Bar"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"type": "#/definitions/Label"
|
|
942
|
+
},
|
|
943
|
+
{
|
|
944
|
+
"type": "#/definitions/Axis"
|
|
945
|
+
},
|
|
946
|
+
{
|
|
947
|
+
"type": "#/definitions/Legend"
|
|
948
|
+
}
|
|
949
|
+
]
|
|
950
|
+
}
|
|
951
|
+
},
|
|
909
952
|
"CustomTooltipAttributes": {
|
|
910
953
|
"description": "Extends `NxAttrExprDef`, see Engine API: `NxAttrExprDef`.",
|
|
911
954
|
"extends": [
|
|
@@ -1096,6 +1139,20 @@
|
|
|
1096
1139
|
}
|
|
1097
1140
|
}
|
|
1098
1141
|
},
|
|
1142
|
+
"FontStyling": {
|
|
1143
|
+
"kind": "object",
|
|
1144
|
+
"entries": {
|
|
1145
|
+
"color": {
|
|
1146
|
+
"type": "#/definitions/paletteColor"
|
|
1147
|
+
},
|
|
1148
|
+
"fontFamily": {
|
|
1149
|
+
"type": "string"
|
|
1150
|
+
},
|
|
1151
|
+
"fontSize": {
|
|
1152
|
+
"type": "string"
|
|
1153
|
+
}
|
|
1154
|
+
}
|
|
1155
|
+
},
|
|
1099
1156
|
"ImageComponent": {
|
|
1100
1157
|
"description": "Image component information structure.",
|
|
1101
1158
|
"kind": "object",
|
|
@@ -1215,6 +1272,57 @@
|
|
|
1215
1272
|
}
|
|
1216
1273
|
}
|
|
1217
1274
|
},
|
|
1275
|
+
"Label": {
|
|
1276
|
+
"kind": "object",
|
|
1277
|
+
"entries": {
|
|
1278
|
+
"key": {
|
|
1279
|
+
"description": "This should be set to `\"label\"` (Determines which component the settings apply to).",
|
|
1280
|
+
"type": "string"
|
|
1281
|
+
},
|
|
1282
|
+
"label": {
|
|
1283
|
+
"type": "#/definitions/LabelValueStyling"
|
|
1284
|
+
}
|
|
1285
|
+
}
|
|
1286
|
+
},
|
|
1287
|
+
"LabelNameStyling": {
|
|
1288
|
+
"kind": "object",
|
|
1289
|
+
"entries": {
|
|
1290
|
+
"name": {
|
|
1291
|
+
"type": "#/definitions/FontStyling"
|
|
1292
|
+
}
|
|
1293
|
+
}
|
|
1294
|
+
},
|
|
1295
|
+
"LabelValueStyling": {
|
|
1296
|
+
"kind": "object",
|
|
1297
|
+
"entries": {
|
|
1298
|
+
"value": {
|
|
1299
|
+
"type": "#/definitions/FontStyling"
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
},
|
|
1303
|
+
"Legend": {
|
|
1304
|
+
"kind": "object",
|
|
1305
|
+
"entries": {
|
|
1306
|
+
"key": {
|
|
1307
|
+
"description": "This should be set to `\"legend\"` (Determines which component the settings apply to).",
|
|
1308
|
+
"type": "string"
|
|
1309
|
+
},
|
|
1310
|
+
"legend": {
|
|
1311
|
+
"type": "#/definitions/LegendStyling"
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
},
|
|
1315
|
+
"LegendStyling": {
|
|
1316
|
+
"kind": "object",
|
|
1317
|
+
"entries": {
|
|
1318
|
+
"label": {
|
|
1319
|
+
"type": "#/definitions/LabelNameStyling"
|
|
1320
|
+
},
|
|
1321
|
+
"title": {
|
|
1322
|
+
"type": "#/definitions/FontStyling"
|
|
1323
|
+
}
|
|
1324
|
+
}
|
|
1325
|
+
},
|
|
1218
1326
|
"MasterVisualizationChart": {
|
|
1219
1327
|
"description": "Chart component information structure.",
|
|
1220
1328
|
"kind": "object",
|