Skip to content

Commit c090b2e

Browse files
committed
Changed example chart
1 parent 2c706ba commit c090b2e

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

example/ChartViewer.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ class ChartViewer extends React.Component {
4141
}
4242

4343
onChange() {
44-
this.setState(({ dataSource, inverted }) => ({
44+
this.setState(({ dataSource }) => ({
4545
dataSource: {
4646
...dataSource,
47-
chart: { ...dataSource.chart, caption: 'CHANGED IT!!!' }
48-
},
49-
inverted: !inverted
47+
chart: { ...dataSource.chart, caption: 'CHANGED IT!!!!!!!' }
48+
}
5049
}));
5150
}
5251

0 commit comments

Comments
 (0)