ChartJS multiple DataSet in one bar

Closed
0
0

hello, i want to replicate this type of ChartJs (http://www.chartjs.org/samples/latest/charts/bar/stacked.html), is there any possibility?

  • You must to post comments
0
0

Hi,

if you choose ChartType Bar and set both axes to Stacked = true, you can easily achieve this:

stacked_bar_chart

Best regards
Frank

    • Guest
    • Jul 10, 2018 - 6:45 am
    Hello, already found it, thanks
  • You must to post comments
0
0

Try to explain better:

with this data

List<Object> _list = new List<Object>();
_list.Add(new object[] { 100, 200, 300 });
_list.Add(new object[] { 100, 200, 300 });
_list.Add(new object[] { 100, 200, 300 });
_list.Add(new object[] { 100, 200, 300 });
_list.Add(new object[] { 100, 200, 300 });
_list.Add(new object[] { 100, 200, 300 });

i want to arrive to this type of Chart (attached img)

Attachment
  • You must to post comments
Showing 2 results