Skip to content

Bar Chart y1 and y2 #4863

Description

@elghali

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}
  }
]
};

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions