Skip to content

Instantly share code, notes, and snippets.

@archangel-irk
Created September 10, 2015 05:33
Show Gist options
  • Save archangel-irk/9fca92769d840ad6c9b0 to your computer and use it in GitHub Desktop.
Save archangel-irk/9fca92769d840ad6c9b0 to your computer and use it in GitHub Desktop.
js chart conf
var data = new anychart.data.set([
{x: 'Department Stores', value: 637166, marker: {enabled: true, type: 'star5', fill: 'gold'}},
{x: 'Discount Stores', value: 721630},
['Men\'s / Women\'s Specialty Stores', 148662],
['Juvenile Specialty Stores', 78662],
['All other outlets', 90000]
]);
var data2 = new anychart.data.set([
{x: 'Department Stores', value: 657166, marker: {enabled: true, type: 'star5', fill: 'gold'}},
{x: 'Discount Stores', value: 51630},
['Men\'s / Women\'s Specialty Stores', 657166],
['Juvenile Specialty Stores', 118662],
['All other outlets', 421630]
]);
var series0, series1, series2, chart;
chart = anychart.bar();
series0 = chart.bar(data);
series1 = chart.line(data);
series2 = chart.area(data2);
chart.container('container').draw();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment