cxplot 0.1.22 → 0.1.23

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.23",
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.8.1",
26
26
  "playwright": "1.59.1"
27
27
  },
28
28
  "keywords": [
@@ -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",
@@ -14231,6 +14272,43 @@
14231
14272
  "Waterfall"
14232
14273
  ]
14233
14274
  },
14275
+ "legendJustifyTo": {
14276
+ "type": [
14277
+ "string",
14278
+ "boolean"
14279
+ ],
14280
+ "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",
14281
+ "default": "panel",
14282
+ "enum": [
14283
+ "panel",
14284
+ "plot",
14285
+ false
14286
+ ],
14287
+ "x-cx-false-disables": true,
14288
+ "x-cx-category": "Legends",
14289
+ "x-cx-nl": "Set the legend justify to to {_option_}",
14290
+ "x-cx-graphtypes": [
14291
+ "Bar",
14292
+ "BarLine",
14293
+ "Boxplot",
14294
+ "Bullet",
14295
+ "Cleveland",
14296
+ "DotLine",
14297
+ "Dotplot",
14298
+ "Dumbbell",
14299
+ "Heatmap",
14300
+ "Line",
14301
+ "Lollipop",
14302
+ "Pareto",
14303
+ "Stacked",
14304
+ "StackedLine",
14305
+ "StackedPercent",
14306
+ "StackedPercentLine",
14307
+ "Tornado",
14308
+ "Violin",
14309
+ "Waterfall"
14310
+ ]
14311
+ },
14234
14312
  "legendKeyBackgroundBorderColor": {
14235
14313
  "type": [
14236
14314
  "string",
@@ -18372,17 +18450,14 @@
18372
18450
  },
18373
18451
  "optionsWallChain": {
18374
18452
  "type": [
18375
- "string",
18453
+ "object",
18376
18454
  "boolean"
18377
18455
  ],
18378
18456
  "description": "Option chain object for one expiry: {strikes, expiry, call:{premium,iv,volume}, put:{premium,iv,volume}}",
18379
18457
  "default": false,
18380
- "x-cx-options": [
18381
- false
18382
- ],
18383
18458
  "x-cx-false-disables": true,
18384
18459
  "x-cx-category": "OptionsWall Charts",
18385
- "x-cx-nl": "Set the options wall chain to {_option_}",
18460
+ "x-cx-nl": "Set the options wall chain to {_object_}",
18386
18461
  "x-cx-graphtypes": [
18387
18462
  "OptionsWall"
18388
18463
  ]
@@ -21633,14 +21708,14 @@
21633
21708
  "ribbonBy": {
21634
21709
  "type": [
21635
21710
  "string",
21636
- "boolean"
21711
+ "array",
21712
+ "boolean",
21713
+ "number"
21637
21714
  ],
21638
21715
  "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
21716
  "default": false,
21640
- "x-cx-options": [
21641
- false
21642
- ],
21643
21717
  "x-cx-false-disables": true,
21718
+ "x-cx-scalar-autowrap": true,
21644
21719
  "x-cx-category": "Data Point Attributes",
21645
21720
  "x-cx-nl": "Ribbon by {_factor_}",
21646
21721
  "x-cx-graphtypes": [