@oliasoft-open-source/charts-library 2.4.5 → 2.4.6

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": "@oliasoft-open-source/charts-library",
3
- "version": "2.4.5",
3
+ "version": "2.4.6",
4
4
  "description": "React Chart Library (based on Chart.js and react-chart-js-2)",
5
5
  "main": "index.js",
6
6
  "files": [
package/release-notes.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Charts Library Release Notes
2
2
 
3
+ ## 2.4.6
4
+
5
+ - Fix Multiple X Axes example in LineChart
6
+
3
7
  ## 2.4.5
4
8
 
5
9
  - Fix zooming issue from OW-9960
@@ -217,9 +217,20 @@ AxesLabels.args = {
217
217
  export const MultipleXAxes = Template.bind({});
218
218
  MultipleXAxes.args = {
219
219
  chart: {
220
- ...basicChart,
220
+ data: {
221
+ datasets: [
222
+ dataset1,
223
+ {
224
+ ...dataset2,
225
+ xAxisID: 'x2',
226
+ },
227
+ ],
228
+ },
221
229
  options: {
222
- ...basicChart.options,
230
+ title: 'Chart title',
231
+ chartStyling: {
232
+ height: 400,
233
+ },
223
234
  axes: {
224
235
  x: [
225
236
  {