Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You can do scrollable/stacked column chart with amCharts: <a href="http://jsfiddle.net/zeroin/mmmv2/" rel="nofollow">http://jsfiddle.net/zeroin/mmmv2/</a></p> <p>The code:</p> <pre> <code> AmCharts.ready(function () { var chartData = [ {category:"user1", val1:1, val2:1, val3:1}, {category:"user2", val1:2, val2:1, val3:2}, {category:"user3", val1:1, val2:1, val3:4}, {category:"user4", val1:2, val2:1, val3:2}, {category:"user5", val1:1, val2:1, val3:5}, {category:"user6", val1:2, val2:1, val3:2}, {category:"user7", val1:1, val2:1, val3:3}, {category:"user8", val1:2, val2:1, val3:1}, {category:"user9", val1:1, val2:1, val3:3}, {category:"user10", val1:2, val2:1, val3:4}, {category:"user11", val1:1, val2:1, val3:3}, {category:"user12", val1:2, val2:1, val3:3}, {category:"user13", val1:1, val2:1, val3:3}, {category:"user14", val1:2, val2:1, val3:1} ]; var chart = new AmCharts.AmSerialChart(); chart.pathToImages = "http://www.amcharts.com/lib/images/"; chart.dataProvider = chartData; chart.categoryField = "category"; var valueAxis = new AmCharts.ValueAxis(); valueAxis.stackType = "regular"; valueAxis.totalText = "[[total]]"; chart.addValueAxis(valueAxis); var graph1 = new AmCharts.AmGraph(); graph1.valueField = "val1"; graph1.type = "column"; graph1.fillAlphas = 1; chart.addGraph(graph1); var graph2 = new AmCharts.AmGraph(); graph2.valueField = "val2"; graph2.type = "column"; graph2.fillAlphas = 1; chart.addGraph(graph2); var graph3 = new AmCharts.AmGraph(); graph3.valueField = "val3"; graph3.type = "column"; graph3.fillAlphas = 1; chart.addGraph(graph3); var chartScrollbar = new AmCharts.ChartScrollbar(); chart.addChartScrollbar(chartScrollbar); chart.write("chartdiv"); }); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload