Skip to content

Instantly share code, notes, and snippets.

@manavsehgal
Created June 16, 2016 07:51
Show Gist options
  • Save manavsehgal/4f287497735c2d9a15fce46ffbedbfc9 to your computer and use it in GitHub Desktop.
Save manavsehgal/4f287497735c2d9a15fce46ffbedbfc9 to your computer and use it in GitHub Desktop.
Fixture for chart data going into CardStackCharts.jsx component hierarchy rendering Rumble Charts.
export const singleSeries = [{
data: [1, 2, 4]
}];
export const series = [{
data: [1, 2, 3]
}, {
data: [5, 7, 11]
}, {
data: [13, 17, 19]
}];
export const cloudSeries = [{
data: [
{ label: 'Highcharts', y: 30 },
{ label: 'amCharts', y: 13 },
{ label: 'Google Charts', y: 31 },
{ label: 'ChartJS', y: 15 },
{ label: 'TauCharts', y: 8 },
{ label: 'FusionCharts', y: 2 },
{ label: 'ZingChart', y: 2 },
{ label: 'uvCharts', y: 1 },
{ label: 'jQuery Sparklines', y: 1 },
{ label: 'Ember Charts', y: 2 },
{ label: 'Canvas.js', y: 16 },
{ label: 'Flot', y: 1 },
{ label: 'D3.js', y: 27 },
{ label: 'n3-charts', y: 3 },
{ label: 'NVD3', y: 3 },
{ label: 'Chartist.js', y: 3 },
{ label: 'C3.js', y: 14 },
{ label: 'Cubism.js', y: 1 },
{ label: 'Rickshaw', y: 2 }
]
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment