Home forums Chart Support How to use fixed Y axis 0-100% Reply To: How to use fixed Y axis 0-100%

#30427

I want to Y value to counted as 100%.
Actually my Data looks like this:

dataPoints: [
  { x: new Date(), y: 150 },
  { x: new Date(), y: 400},
  { x: new Date(), y: 500 },
  { x: new Date(), y: 2000 },
]

`axisY: {
suffix: “%” // this should be calculated to 100% of Y values.
},`