Bar Chart y1 and y2

I am trying to build a bar chart having some data, but i want for every bar to provide its starting Y1 and its finishing Y2, is there a way to do such as the following :

datasets: [
  {
    label: 'My First dataset',
    backgroundColor: 'rgba(255,99,132,0.2)',
    borderColor: 'rgba(255,99,132,1)',
    borderWidth: 1,
    hoverBackgroundColor: 'rgba(255,99,132,0.4)',
    hoverBorderColor: 'rgba(255,99,132,1)',
   data: [{'Y1':65,'Y2':45},
             {'Y1':60,'Y2':41},
             {'Y1':80,'Y2':25},
             {'Y1':55,'Y2':30},
             {'Y1':75,'Y2':41},
             {'Y1':66,'Y2':25},
             {'Y1':55,'Y2':22}
  }
]
};

Author: Fantashit

2 thoughts on “Bar Chart y1 and y2

  1. That PR is quite close to being merged. I’d imagine it will be part of the next release (2.9.0). I don’t have an estimated date for when that might happen

Comments are closed.