@nebula.js/sn-pivot-table 2.5.4 → 2.6.0
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/properties.json +73 -2
- package/core/esm/index.js +9 -9
- package/dist/sn-pivot-table.js +11 -11
- package/dist/sn-pivot-table.systemjs.js +9 -9
- package/package.json +6 -2
- package/sn-pivot-table-ext/dist/sn-pivot-table.js +11 -11
- package/sn-pivot-table-ext/sn-pivot-table.qext +4 -4
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"info": {
|
|
4
4
|
"name": "@nebula.js/sn-pivot-table:properties",
|
|
5
5
|
"description": "Pivot Table generic object definition",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.6.0",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"stability": "experimental",
|
|
9
9
|
"x-qlik-visibility": "public"
|
|
@@ -323,12 +323,83 @@
|
|
|
323
323
|
},
|
|
324
324
|
"title": {
|
|
325
325
|
"type": "#/definitions/TitleStyling"
|
|
326
|
+
},
|
|
327
|
+
"bgColor": {
|
|
328
|
+
"optional": true,
|
|
329
|
+
"kind": "union",
|
|
330
|
+
"items": [
|
|
331
|
+
{
|
|
332
|
+
"type": "#/definitions/BackgroundColor"
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"type": "#/definitions/BackgroundColorExpression"
|
|
336
|
+
}
|
|
337
|
+
]
|
|
338
|
+
},
|
|
339
|
+
"bgImage": {
|
|
340
|
+
"optional": true,
|
|
341
|
+
"type": "#/definitions/BackgroundImage"
|
|
326
342
|
}
|
|
327
343
|
},
|
|
328
344
|
"examples": [
|
|
329
|
-
"{\n key: \"general\",\n title: {\n main: {\n fontSize: \"18px\",\n fontFamily: \"Arial\",\n fontStyle: [\"bold\", \"italic\"],\n color: { color: \"orangered\" },\n }\n }\n}"
|
|
345
|
+
"{\n key: \"general\",\n title: {\n main: {\n fontSize: \"18px\",\n fontFamily: \"Arial\",\n fontStyle: [\"bold\", \"italic\"],\n color: { color: \"orangered\" },\n }\n },\n bgColor: {\n useExpression: true,\n color: {\n index: 6,\n color: \"#006580\"\n },\n colorExpression: {\n qStringExpression: {\n qExpr: \"red()\"\n }\n }\n },\n bgImage: {\n mode: \"media\",\n mediaUrl: {\n qStaticContentUrlDef: {\n qUrl: \"<path-to-image>\"\n }\n }\n }\n}"
|
|
330
346
|
]
|
|
331
347
|
},
|
|
348
|
+
"BackgroundColor": {
|
|
349
|
+
"description": "Chart background color",
|
|
350
|
+
"kind": "object",
|
|
351
|
+
"entries": {
|
|
352
|
+
"color": {
|
|
353
|
+
"description": "Background color palette",
|
|
354
|
+
"type": "#/definitions/PaletteColor"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"BackgroundColorExpression": {
|
|
359
|
+
"description": "Chart background color by expression",
|
|
360
|
+
"kind": "object",
|
|
361
|
+
"entries": {
|
|
362
|
+
"useExpression": {
|
|
363
|
+
"description": "Boolean to indicate if color by expression should be used",
|
|
364
|
+
"type": "boolean"
|
|
365
|
+
},
|
|
366
|
+
"colorExpression": {
|
|
367
|
+
"description": "Color expression, \"useExpression\" must also be true",
|
|
368
|
+
"type": "StringExpression"
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"BackgroundImage": {
|
|
373
|
+
"description": "Chart background image.\n\nBackground image takes precedence over background color.",
|
|
374
|
+
"kind": "object",
|
|
375
|
+
"entries": {
|
|
376
|
+
"mode": {
|
|
377
|
+
"description": "Mode",
|
|
378
|
+
"kind": "literal",
|
|
379
|
+
"value": "\"media\""
|
|
380
|
+
},
|
|
381
|
+
"mediaUrl": {
|
|
382
|
+
"description": "Media url",
|
|
383
|
+
"type": "#/definitions/MediaUrl"
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
},
|
|
387
|
+
"MediaUrl": {
|
|
388
|
+
"description": "Media url",
|
|
389
|
+
"kind": "object",
|
|
390
|
+
"entries": {
|
|
391
|
+
"qStaticContentUrlDef": {
|
|
392
|
+
"description": "Background image mode",
|
|
393
|
+
"kind": "object",
|
|
394
|
+
"entries": {
|
|
395
|
+
"qUrl": {
|
|
396
|
+
"description": "Relative path of the image",
|
|
397
|
+
"type": "string"
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
},
|
|
332
403
|
"TitleOptions": {
|
|
333
404
|
"description": "Title styling options",
|
|
334
405
|
"kind": "object",
|