nova-chartjs icon indicating copy to clipboard operation
nova-chartjs copied to clipboard

How to set Y Axes to begin from zero?

Open ZoreAnkit opened this issue 4 years ago • 2 comments

I have 2 items. I want y-axis to start from zero irrespective of data. Below is example for the same where y-axis starts from 100.

Selection_030

ZoreAnkit avatar Sep 08 '21 09:09 ZoreAnkit

I'd like to know this too. Any ideas anyone?

bluec avatar Jul 29 '24 15:07 bluec

this is working in options:

          'scales' => [
              'yAxes' => [
                  'beginAtZero' => true
              ]
          ],

sogo-on-github avatar Mar 19 '25 08:03 sogo-on-github