@drayman/elements 1.81.0 → 1.83.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/dist/grid/main.js +1 -1
- package/dist/ngx-charts/main.js +1 -1
- package/package.json +1 -1
- package/types/index.d.ts +42 -10
package/package.json
CHANGED
package/types/index.d.ts
CHANGED
|
@@ -560,11 +560,11 @@ declare global {
|
|
|
560
560
|
*
|
|
561
561
|
* 
|
|
562
562
|
*
|
|
563
|
-
* ```typescript
|
|
564
|
-
* export const component: DraymanComponent = async ({ forceUpdate }) => {
|
|
565
|
-
* return () => (
|
|
566
|
-
* <drayman-ngx-charts
|
|
567
|
-
* type="pie"
|
|
563
|
+
* ```typescript
|
|
564
|
+
* export const component: DraymanComponent = async ({ forceUpdate }) => {
|
|
565
|
+
* return () => (
|
|
566
|
+
* <drayman-ngx-charts
|
|
567
|
+
* type="pie"
|
|
568
568
|
* results={
|
|
569
569
|
* [
|
|
570
570
|
* { name: 'Cherries', value: 10 },
|
|
@@ -573,11 +573,43 @@ declare global {
|
|
|
573
573
|
* }
|
|
574
574
|
* labels
|
|
575
575
|
* />
|
|
576
|
-
* );
|
|
577
|
-
* }
|
|
578
|
-
* ```
|
|
579
|
-
|
|
580
|
-
|
|
576
|
+
* );
|
|
577
|
+
* }
|
|
578
|
+
* ```
|
|
579
|
+
*
|
|
580
|
+
* ### Stacked vertical bar chart
|
|
581
|
+
*
|
|
582
|
+
* ```typescript
|
|
583
|
+
* export const component: DraymanComponent = async ({ forceUpdate }) => {
|
|
584
|
+
* return () => (
|
|
585
|
+
* <drayman-ngx-charts
|
|
586
|
+
* type="verticalBarStacked"
|
|
587
|
+
* results={[
|
|
588
|
+
* {
|
|
589
|
+
* name: 'Germany',
|
|
590
|
+
* series: [
|
|
591
|
+
* { name: '2010', value: 7300000 },
|
|
592
|
+
* { name: '2011', value: 8940000 },
|
|
593
|
+
* ],
|
|
594
|
+
* },
|
|
595
|
+
* {
|
|
596
|
+
* name: 'USA',
|
|
597
|
+
* series: [
|
|
598
|
+
* { name: '2010', value: 7870000 },
|
|
599
|
+
* { name: '2011', value: 8270000 },
|
|
600
|
+
* ],
|
|
601
|
+
* },
|
|
602
|
+
* ]}
|
|
603
|
+
* legend
|
|
604
|
+
* xAxis
|
|
605
|
+
* yAxis
|
|
606
|
+
* showGridLines
|
|
607
|
+
* />
|
|
608
|
+
* );
|
|
609
|
+
* }
|
|
610
|
+
* ```
|
|
611
|
+
*/
|
|
612
|
+
interface DraymanNgxChartsProps extends DraymanNgxCharts, DraymanElementsProps { }
|
|
581
613
|
/**
|
|
582
614
|
* # <drayman-ngx-graph \/>
|
|
583
615
|
*
|