@react-magma/charts 12.0.0-next.2 → 12.0.0-next.4

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.
Files changed (30) hide show
  1. package/dist/charts +11 -8
  2. package/dist/charts.js +1 -1
  3. package/dist/charts.js.map +1 -1
  4. package/dist/charts.map +1 -1
  5. package/dist/charts.modern.module.js +1 -1
  6. package/dist/charts.modern.module.js.map +1 -1
  7. package/dist/charts.umd.js +1 -1
  8. package/dist/charts.umd.js.map +1 -1
  9. package/dist/components/CarbonChart/CarbonChart.d.ts +2 -1
  10. package/dist/components/CarbonChart/CarbonChartArea.stories.d.ts +1 -0
  11. package/dist/components/CarbonChart/CarbonChartBoxplot.stories.d.ts +1 -0
  12. package/dist/components/CarbonChart/CarbonChartBubble.stories.d.ts +5 -0
  13. package/dist/components/CarbonChart/CarbonChartCombo.stories.d.ts +11 -0
  14. package/dist/components/CarbonChart/CarbonChartGauge.stories.d.ts +1 -0
  15. package/dist/components/CarbonChart/CarbonChartHistogram.stories.d.ts +2 -0
  16. package/dist/components/CarbonChart/CarbonChartMeter.stories.d.ts +4 -0
  17. package/dist/components/CarbonChart/CarbonChartRadar.stories.d.ts +3 -0
  18. package/dist/components/CarbonChart/CarbonChartScatter.stories.d.ts +5 -0
  19. package/package.json +2 -2
  20. package/src/components/CarbonChart/CarbonChart.tsx +29 -5
  21. package/src/components/CarbonChart/CarbonChartArea.stories.tsx +101 -0
  22. package/src/components/CarbonChart/CarbonChartBar.stories.tsx +10 -0
  23. package/src/components/CarbonChart/CarbonChartBoxplot.stories.tsx +120 -122
  24. package/src/components/CarbonChart/CarbonChartBubble.stories.tsx +475 -477
  25. package/src/components/CarbonChart/CarbonChartCombo.stories.tsx +1282 -1284
  26. package/src/components/CarbonChart/CarbonChartGauge.stories.tsx +24 -26
  27. package/src/components/CarbonChart/CarbonChartHistogram.stories.tsx +593 -595
  28. package/src/components/CarbonChart/CarbonChartMeter.stories.tsx +147 -149
  29. package/src/components/CarbonChart/CarbonChartRadar.stories.tsx +375 -377
  30. package/src/components/CarbonChart/CarbonChartScatter.stories.tsx +363 -365
@@ -54,29 +54,27 @@ GaugeSemicircularDangerStatus.args = {
54
54
  },
55
55
  };
56
56
 
57
- // Uncomment when adding new charts. Issues: #1054, #1055, #1056
58
-
59
- // export const GaugeCircularWarningStatus = Template.bind({});
60
- // GaugeCircularWarningStatus.args = {
61
- // isInverse: false,
62
- // type: CarbonChartType.gauge,
63
- // dataSet: [
64
- // {
65
- // group: 'value',
66
- // value: 42,
67
- // },
68
- // {
69
- // group: 'delta',
70
- // value: -13.37,
71
- // },
72
- // ],
73
- // options: {
74
- // title: 'Gauge circular -- warning status',
75
- // resizable: true,
76
- // height: '250px',
77
- // gauge: {
78
- // status: 'warning',
79
- // type: 'full',
80
- // },
81
- // },
82
- // };
57
+ export const GaugeCircularWarningStatus = Template.bind({});
58
+ GaugeCircularWarningStatus.args = {
59
+ isInverse: false,
60
+ type: CarbonChartType.gauge,
61
+ dataSet: [
62
+ {
63
+ group: 'value',
64
+ value: 42,
65
+ },
66
+ {
67
+ group: 'delta',
68
+ value: -13.37,
69
+ },
70
+ ],
71
+ options: {
72
+ title: 'Gauge circular -- warning status',
73
+ resizable: true,
74
+ height: '250px',
75
+ gauge: {
76
+ status: 'warning',
77
+ type: 'full',
78
+ },
79
+ },
80
+ };