Using ChartJS to Create a Max Y Value

0
0
I am trying to use a bar chart to show the current percentage completed for a daily job.  I am having trouble figuring out how to set a static maximum Y value in the control/dataset to represent the total value to reach (100%).
From what I understand right now, the chart’s maximum Y value is set to dynamically change based on the largest Y value in the dataset.
Is it possible to set a static maximum Y value (total value or 100%) to a ChartJS bar chart?
Thanks,
Shawn
  • You must to post comments
0
0

Hi Shawn,

ChartJS has now also been updated in the latest Wisej release (1.3.47).

Best regards
Frank

  • You must to post comments
0
0

Hi Shawn,

we updated the ChartJS extension again to now support min and max values for the axes.

Please redownload from our extension page and give it a try.

It will also be included in the next Wisej build.

Best regards
Frank

  • Shawn Ramirez
    Thanks, you guys are great!
  • You must to post comments
0
0

Hi Shawn,

I have added an enhancement request to set min/max values for y-axes. (WJ-8164).

We´ll keep you updated.

Best regards
Frank

  • Shawn Ramirez
    Thank you, it works great. ChartJS1.Options.Scales.yAxes(0).Ticks.Max = 100
  • You must to post comments
Showing 3 results
Your Answer

Please first to submit.