Skip to content

Commit f3bc27b

Browse files
committed
Removed old drill down, config changes
1 parent e68044c commit f3bc27b

File tree

6 files changed

+19
-429
lines changed

6 files changed

+19
-429
lines changed

.eslintrc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
extends: airbnb
1+
extends:
2+
- airbnb
3+
- prettier
24
env:
35
browser: true
46
node: true
@@ -18,4 +20,4 @@ rules:
1820
react/forbid-prop-types: 0
1921
no-unused-expressions: 0
2022
no-useless-return: 0
21-
no-continue: 0
23+
no-continue: 0

example/ChartViewer.js

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,38 +4,38 @@ import Charts from 'fusioncharts/fusioncharts.charts';
44
import OceanTheme from 'fusioncharts/themes/fusioncharts.theme.ocean';
55
import ReactFC from '../lib/ReactFC';
66

7-
// Charts(FusionCharts);
7+
Charts(FusionCharts);
88
OceanTheme(FusionCharts);
99

1010
const myDataSource = {
1111
chart: {
12-
caption: 'Harry\'s ss',
12+
caption: "Harry's ss",
1313
subCaption: 'Top 5 stores in last month by revenue',
1414
numberPrefix: '$',
15-
theme: 'ocean',
15+
theme: 'ocean'
1616
},
1717
data: [
1818
{
1919
label: 'Bakersfield Central',
20-
value: '880000',
20+
value: '880000'
2121
},
2222
{
2323
label: 'Garden Groove harbour',
24-
value: '730000',
24+
value: '730000'
2525
},
2626
{
2727
label: 'Los Angeles Topanga',
28-
value: '590000',
28+
value: '590000'
2929
},
3030
{
3131
label: 'Compton-Rancho Dom',
32-
value: '520000',
32+
value: '520000'
3333
},
3434
{
3535
label: 'Daly City Serramonte',
36-
value: '330000',
37-
},
38-
],
36+
value: '330000'
37+
}
38+
]
3939
};
4040

4141
class ChartViewer extends React.Component {
@@ -47,7 +47,7 @@ class ChartViewer extends React.Component {
4747
width: 600,
4848
height: 400,
4949
dataFormat: 'json',
50-
dataSource: myDataSource,
50+
dataSource: myDataSource
5151
};
5252

5353
this.onClick = this.onClick.bind(this);
@@ -67,7 +67,7 @@ class ChartViewer extends React.Component {
6767
<set label="Golf" value="400000000" tooltext="Popular in: {br}US{br}Canada{br}Europe" />
6868
<set label="Basketball" value="400000000" tooltext="Popular in: {br}US{br}Canada" />
6969
<set label="American football" value="390000000" tooltext="Popular in:{br}US" />
70-
</chart>`,
70+
</chart>`
7171
});
7272
}
7373

example/DrillDown.js

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)