@react-magma/charts 12.0.1-next.0 → 12.0.1-next.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/dist/charts.js +2450 -1
- package/dist/charts.js.map +1 -1
- package/dist/charts.modern.module.js +2428 -1
- package/dist/charts.modern.module.js.map +1 -1
- package/dist/charts.umd.js +48555 -1
- package/dist/charts.umd.js.map +1 -1
- package/dist/components/CarbonChart/CarbonChart.d.ts +42 -41
- package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +310 -310
- package/dist/components/CarbonChart/CarbonChartAreaStacked.stories.d.ts +136 -136
- package/dist/components/CarbonChart/CarbonChartBar.stories.d.ts +214 -214
- package/dist/components/CarbonChart/CarbonChartBarFloating.stories.d.ts +82 -82
- package/dist/components/CarbonChart/CarbonChartBarGrouped.stories.d.ts +234 -234
- package/dist/components/CarbonChart/CarbonChartBarStacked.stories.d.ts +266 -266
- package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +53 -53
- package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +196 -196
- package/dist/components/CarbonChart/CarbonChartBullet.stories.d.ts +35 -35
- package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +580 -580
- package/dist/components/CarbonChart/CarbonChartDonut.stories.d.ts +120 -120
- package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +43 -43
- package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +89 -89
- package/dist/components/CarbonChart/CarbonChartLine.stories.d.ts +577 -577
- package/dist/components/CarbonChart/CarbonChartLollipop.stories.d.ts +55 -55
- package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +127 -127
- package/dist/components/CarbonChart/CarbonChartPie.stories.d.ts +101 -101
- package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +98 -98
- package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +173 -173
- package/dist/components/CarbonChart/CarbonChartSparkline.stories.d.ts +51 -51
- package/dist/components/CarbonChart/CarbonChartStep.stories.d.ts +38 -38
- package/dist/components/CarbonChart/index.d.ts +1 -1
- package/dist/components/LineChart/Chart.d.ts +27 -27
- package/dist/components/LineChart/ChartDataTable.d.ts +17 -17
- package/dist/components/LineChart/CustomAxisComponent.d.ts +3 -3
- package/dist/components/LineChart/CustomPointComponent.d.ts +17 -17
- package/dist/components/LineChart/DataTable.d.ts +5 -5
- package/dist/components/LineChart/GraphTooltip.d.ts +3 -3
- package/dist/components/LineChart/LegendButton.d.ts +6 -6
- package/dist/components/LineChart/LineChart.d.ts +67 -67
- package/dist/components/LineChart/LineChart.stories.d.ts +113 -134
- package/dist/components/LineChart/index.d.ts +1 -1
- package/dist/components/LineChart/magma-charts.d.ts +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +9 -4
- package/src/components/CarbonChart/CarbonChart.tsx +12 -16
- package/src/components/CarbonChart/carbon-charts.css +7303 -0
- package/dist/components/CarbonChart/CarbonChart.test.d.ts +0 -1
- package/dist/components/CarbonChart/embeddedStyles.d.ts +0 -1
- package/dist/components/LineChart/ChartDataTable.test.d.ts +0 -1
- package/dist/components/LineChart/LineChart.test.d.ts +0 -1
- package/dist/components/LineChart/test/exampleChartData.d.ts +0 -40
- package/src/components/CarbonChart/embeddedStyles.ts +0 -24880
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { ChartOptions } from '@carbon/charts-react';
|
|
3
|
-
import { ThemeInterface } from 'react-magma-dom';
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ChartOptions } from '@carbon/charts-react';
|
|
3
|
+
import { ThemeInterface } from 'react-magma-dom';
|
|
4
|
+
import './carbon-charts.css';
|
|
5
|
+
export declare enum CarbonChartType {
|
|
6
|
+
area = "area",
|
|
7
|
+
areaStacked = "areaStacked",
|
|
8
|
+
bar = "bar",
|
|
9
|
+
barGrouped = "barGrouped",
|
|
10
|
+
barStacked = "barStacked",
|
|
11
|
+
boxplot = "boxplot",
|
|
12
|
+
bubble = "bubble",
|
|
13
|
+
bullet = "bullet",
|
|
14
|
+
donut = "donut",
|
|
15
|
+
gauge = "gauge",
|
|
16
|
+
histogram = "histogram",
|
|
17
|
+
line = "line",
|
|
18
|
+
lollipop = "lollipop",
|
|
19
|
+
meter = "meter",
|
|
20
|
+
pie = "pie",
|
|
21
|
+
radar = "radar",
|
|
22
|
+
scatter = "scatter",
|
|
23
|
+
combo = "combo"
|
|
24
|
+
}
|
|
25
|
+
export interface CarbonChartProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
26
|
+
dataSet: Array<Object>;
|
|
27
|
+
isInverse?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* For a complete list of options, see Carbon Charts documentation
|
|
30
|
+
*/
|
|
31
|
+
options: ChartOptions;
|
|
32
|
+
testId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
theme?: ThemeInterface;
|
|
37
|
+
/**
|
|
38
|
+
* Type of Chart: area, bar, donut, line, etc.
|
|
39
|
+
*/
|
|
40
|
+
type: CarbonChartType;
|
|
41
|
+
}
|
|
42
|
+
export declare const CarbonChart: React.ForwardRefExoticComponent<CarbonChartProps & React.RefAttributes<HTMLDivElement>>;
|