Skip to content

Commit c043eac

Browse files
clearer sample datasets
1 parent b530507 commit c043eac

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

dev/App.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ import PlotlyEditor, {DefaultEditor, Panel} from '../src';
1111
import ACCESS_TOKENS from '../accessTokens';
1212

1313
const dataSources = {
14-
col1: ['Jan', 'Feb', 'Mar'], // eslint-disable-line no-magic-numbers
15-
col2: [1, 2, 3],
16-
col3: [4, 3, 2], // eslint-disable-line no-magic-numbers
17-
col4: [17, 13, 9], // eslint-disable-line no-magic-numbers
18-
col5: ['blue'],
19-
col6: ['yellow', 'green', 'yellow'],
14+
ints: [1, 2, 3, 4, 5], // eslint-disable-line no-magic-numbers
15+
'jagged ints': [2, 1, 3, 5, 4], // eslint-disable-line no-magic-numbers
16+
'big ints': [1000, 10100, 10000, 20000, 100000], // eslint-disable-line no-magic-numbers
17+
dates: ['2010-01-01', '2010-07-01', '2011-01-01', '2011-07-01', '2012-01-01'],
18+
months: ['January', 'February', 'March', 'April', 'May'],
19+
colors: ['red', 'orange', 'yellow', 'green', 'blue'],
20+
justblue: ['blue'],
2021
};
2122
const dataSourceOptions = Object.keys(dataSources).map(name => ({
2223
value: name,

0 commit comments

Comments
 (0)