cxplot 0.1.22 → 0.1.24

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cxplot",
3
- "version": "0.1.22",
3
+ "version": "0.1.24",
4
4
  "description": "cxplot \u2014 validate, render, hash and export CanvasXpress figure specs with the same engine the browser runs",
5
5
  "bin": {
6
6
  "cxplot": "bin/cxplot.js"
@@ -22,7 +22,7 @@
22
22
  "dependencies": {
23
23
  "ajv": "^8.17.1",
24
24
  "ajv-formats": "^3.0.1",
25
- "canvasxpress": "70.8.0",
25
+ "canvasxpress": "70.9.0",
26
26
  "playwright": "1.59.1"
27
27
  },
28
28
  "keywords": [
@@ -3,7 +3,7 @@
3
3
  "$id": "https://canvasxpress.org/schema/canvasxpress-config-latest.schema.json",
4
4
  "title": "CanvasXpress configuration",
5
5
  "description": "Machine-generated schema for the CanvasXpress config object. Generated from CanvasXpress.doc (the engine's internal parameter registry) — do not hand-edit; re-run tools/schema/generate-config-schema.js.",
6
- "x-cx-version": "70.8",
6
+ "x-cx-version": "70.9",
7
7
  "type": "object",
8
8
  "additionalProperties": true,
9
9
  "properties": {
@@ -3268,6 +3268,7 @@
3268
3268
  "description": "Color schemes can be user defined which will take the colors in the color property or one provided in canvasXpress. The order of the colors will be used to sequentially select when a different color is needed in a particular visualization",
3269
3269
  "default": "User",
3270
3270
  "enum": [
3271
+ "User",
3271
3272
  "AAAS",
3272
3273
  "Accent",
3273
3274
  "BMS",
@@ -7248,6 +7249,46 @@
7248
7249
  "WordCloud"
7249
7250
  ]
7250
7251
  },
7252
+ "dataValuesHideOverlap": {
7253
+ "type": "boolean",
7254
+ "description": "Flag to hide a data value label that does not fit inside its stacked bar segment (showDataValues in Stacked graphs), instead of drawing it over the neighbouring segments",
7255
+ "default": false,
7256
+ "x-cx-category": "Plot Area",
7257
+ "x-cx-nl": "{Hide|Do Not Hide} a data value label that does not fit inside its stacked bar segment (showDataValues in Stacked graphs), instead of drawing it over the neighbouring segments",
7258
+ "x-cx-graphtypes": [
7259
+ "Area",
7260
+ "AreaLine",
7261
+ "Bar",
7262
+ "BarLine",
7263
+ "Boxplot",
7264
+ "Bullet",
7265
+ "Cleveland",
7266
+ "DotLine",
7267
+ "Dotplot",
7268
+ "Dumbbell",
7269
+ "Gantt",
7270
+ "Heatmap",
7271
+ "Line",
7272
+ "Lollipop",
7273
+ "Meter",
7274
+ "ParallelCoordinates",
7275
+ "OptionsWall",
7276
+ "Pareto",
7277
+ "Stacked",
7278
+ "StackedLine",
7279
+ "StackedPercent",
7280
+ "StackedPercentLine",
7281
+ "TagCloud",
7282
+ "Tornado",
7283
+ "Tree",
7284
+ "TreeBracket",
7285
+ "Treemap",
7286
+ "Upset",
7287
+ "Violin",
7288
+ "Waterfall",
7289
+ "WordCloud"
7290
+ ]
7291
+ },
7251
7292
  "dataValuesPosition": {
7252
7293
  "type": [
7253
7294
  "string",
@@ -9055,6 +9096,161 @@
9055
9096
  "Violin"
9056
9097
  ]
9057
9098
  },
9099
+ "drillBreadcrumb": {
9100
+ "type": "boolean",
9101
+ "description": "Flag to show the drill-down breadcrumb strip in the viewport when a drillHierarchy is active and the chart has been drilled. Set false for API-only drill control",
9102
+ "default": true,
9103
+ "x-cx-category": "Data",
9104
+ "x-cx-nl": "{Show|Do Not Show} the drill-down breadcrumb strip in the viewport when a drillHierarchy is active and the chart has been drilled",
9105
+ "x-cx-graphtypes": [
9106
+ "Alluvial",
9107
+ "Area",
9108
+ "AreaLine",
9109
+ "Bar",
9110
+ "BarLine",
9111
+ "Boxplot",
9112
+ "Bin",
9113
+ "Binplot",
9114
+ "Bubble",
9115
+ "Bullet",
9116
+ "CDF",
9117
+ "Chord",
9118
+ "Circular",
9119
+ "Cleveland",
9120
+ "Contour",
9121
+ "Correlation",
9122
+ "Density",
9123
+ "Distribution",
9124
+ "Donut",
9125
+ "DotLine",
9126
+ "Dotplot",
9127
+ "Dumbbell",
9128
+ "Fish",
9129
+ "Gantt",
9130
+ "Heatmap",
9131
+ "Hex",
9132
+ "Hexplot",
9133
+ "Histogram",
9134
+ "KaplanMeier",
9135
+ "Line",
9136
+ "Lollipop",
9137
+ "Map",
9138
+ "Meter",
9139
+ "ParallelCoordinates",
9140
+ "OptionsWall",
9141
+ "Pareto",
9142
+ "Pie",
9143
+ "QQ",
9144
+ "Quantile",
9145
+ "Radar",
9146
+ "Ribbon",
9147
+ "Ridgeline",
9148
+ "Sankey",
9149
+ "Scatter2D",
9150
+ "Scatter3D",
9151
+ "ScatterBubble2D",
9152
+ "Spaghetti",
9153
+ "SPLOM",
9154
+ "Stacked",
9155
+ "StackedLine",
9156
+ "StackedPercent",
9157
+ "StackedPercentLine",
9158
+ "Streamgraph",
9159
+ "Sunburst",
9160
+ "TagCloud",
9161
+ "Tornado",
9162
+ "TimeSeries",
9163
+ "Tree",
9164
+ "TreeBracket",
9165
+ "Treemap",
9166
+ "Upset",
9167
+ "Violin",
9168
+ "Volcano",
9169
+ "Waterfall",
9170
+ "WordCloud"
9171
+ ]
9172
+ },
9173
+ "drillHierarchy": {
9174
+ "type": [
9175
+ "array",
9176
+ "boolean",
9177
+ "string",
9178
+ "number"
9179
+ ],
9180
+ "description": "An array of sample annotation names, coarse to fine (e.g. [\"Region\",\"State\",\"City\"]), defining a drill-down hierarchy. When set, clicking a mark filters to the clicked level value and regroups by the next finer annotation; a breadcrumb walks back. Each entry must be a category in the data.x object",
9181
+ "default": [],
9182
+ "x-cx-false-disables": true,
9183
+ "x-cx-scalar-autowrap": true,
9184
+ "x-cx-category": "Data",
9185
+ "x-cx-nl": "Drill-down hierarchy {_multi-factor_}",
9186
+ "x-cx-graphtypes": [
9187
+ "Alluvial",
9188
+ "Area",
9189
+ "AreaLine",
9190
+ "Bar",
9191
+ "BarLine",
9192
+ "Boxplot",
9193
+ "Bin",
9194
+ "Binplot",
9195
+ "Bubble",
9196
+ "Bullet",
9197
+ "CDF",
9198
+ "Chord",
9199
+ "Circular",
9200
+ "Cleveland",
9201
+ "Contour",
9202
+ "Correlation",
9203
+ "Density",
9204
+ "Distribution",
9205
+ "Donut",
9206
+ "DotLine",
9207
+ "Dotplot",
9208
+ "Dumbbell",
9209
+ "Fish",
9210
+ "Gantt",
9211
+ "Heatmap",
9212
+ "Hex",
9213
+ "Hexplot",
9214
+ "Histogram",
9215
+ "KaplanMeier",
9216
+ "Line",
9217
+ "Lollipop",
9218
+ "Map",
9219
+ "Meter",
9220
+ "ParallelCoordinates",
9221
+ "OptionsWall",
9222
+ "Pareto",
9223
+ "Pie",
9224
+ "QQ",
9225
+ "Quantile",
9226
+ "Radar",
9227
+ "Ribbon",
9228
+ "Ridgeline",
9229
+ "Sankey",
9230
+ "Scatter2D",
9231
+ "Scatter3D",
9232
+ "ScatterBubble2D",
9233
+ "Spaghetti",
9234
+ "SPLOM",
9235
+ "Stacked",
9236
+ "StackedLine",
9237
+ "StackedPercent",
9238
+ "StackedPercentLine",
9239
+ "Streamgraph",
9240
+ "Sunburst",
9241
+ "TagCloud",
9242
+ "Tornado",
9243
+ "TimeSeries",
9244
+ "Tree",
9245
+ "TreeBracket",
9246
+ "Treemap",
9247
+ "Upset",
9248
+ "Violin",
9249
+ "Volcano",
9250
+ "Waterfall",
9251
+ "WordCloud"
9252
+ ]
9253
+ },
9058
9254
  "dumbbellArrowDirection": {
9059
9255
  "type": [
9060
9256
  "string",
@@ -14231,6 +14427,43 @@
14231
14427
  "Waterfall"
14232
14428
  ]
14233
14429
  },
14430
+ "legendJustifyTo": {
14431
+ "type": [
14432
+ "string",
14433
+ "boolean"
14434
+ ],
14435
+ "description": "What a left/right-justified top or bottom legend (legendHorizontalJustification 0 or 1) aligns to: the panel (plot area) edge or the whole plot (canvas) edge, like titleAlign plot::0",
14436
+ "default": "panel",
14437
+ "enum": [
14438
+ "panel",
14439
+ "plot",
14440
+ false
14441
+ ],
14442
+ "x-cx-false-disables": true,
14443
+ "x-cx-category": "Legends",
14444
+ "x-cx-nl": "Set the legend justify to to {_option_}",
14445
+ "x-cx-graphtypes": [
14446
+ "Bar",
14447
+ "BarLine",
14448
+ "Boxplot",
14449
+ "Bullet",
14450
+ "Cleveland",
14451
+ "DotLine",
14452
+ "Dotplot",
14453
+ "Dumbbell",
14454
+ "Heatmap",
14455
+ "Line",
14456
+ "Lollipop",
14457
+ "Pareto",
14458
+ "Stacked",
14459
+ "StackedLine",
14460
+ "StackedPercent",
14461
+ "StackedPercentLine",
14462
+ "Tornado",
14463
+ "Violin",
14464
+ "Waterfall"
14465
+ ]
14466
+ },
14234
14467
  "legendKeyBackgroundBorderColor": {
14235
14468
  "type": [
14236
14469
  "string",
@@ -18372,17 +18605,14 @@
18372
18605
  },
18373
18606
  "optionsWallChain": {
18374
18607
  "type": [
18375
- "string",
18608
+ "object",
18376
18609
  "boolean"
18377
18610
  ],
18378
18611
  "description": "Option chain object for one expiry: {strikes, expiry, call:{premium,iv,volume}, put:{premium,iv,volume}}",
18379
18612
  "default": false,
18380
- "x-cx-options": [
18381
- false
18382
- ],
18383
18613
  "x-cx-false-disables": true,
18384
18614
  "x-cx-category": "OptionsWall Charts",
18385
- "x-cx-nl": "Set the options wall chain to {_option_}",
18615
+ "x-cx-nl": "Set the options wall chain to {_object_}",
18386
18616
  "x-cx-graphtypes": [
18387
18617
  "OptionsWall"
18388
18618
  ]
@@ -21633,14 +21863,14 @@
21633
21863
  "ribbonBy": {
21634
21864
  "type": [
21635
21865
  "string",
21636
- "boolean"
21866
+ "array",
21867
+ "boolean",
21868
+ "number"
21637
21869
  ],
21638
21870
  "description": "Name of a sample annotation(s) to create a ribbon of each variable in scatter plots. If a single annotation is passed then it will be used as a standard deviation. If two annotations are passed then, it will be used as upper and lower confidence intervals. Alternatively it could be a pair of arrays witht the actual data. Works in coordination with the lineBy parameter",
21639
21871
  "default": false,
21640
- "x-cx-options": [
21641
- false
21642
- ],
21643
21872
  "x-cx-false-disables": true,
21873
+ "x-cx-scalar-autowrap": true,
21644
21874
  "x-cx-category": "Data Point Attributes",
21645
21875
  "x-cx-nl": "Ribbon by {_factor_}",
21646
21876
  "x-cx-graphtypes": [