team-moeller / better-access-charts

Better charts for Access with chart.js
MIT License
38 stars 14 forks source link

Axis Begin at Zero, not working for Radar #100

Closed rezaxkarimi closed 2 years ago

rezaxkarimi commented 2 years ago

Dear It's a great work.!

"Begin at zero" is not working for Radar chart type, as well Ticks min and max. please fix it.

Thanks Reza

team-moeller commented 2 years ago

In the current implementation we do only support x- and y-axis. Support for radial axis has to be added.

team-moeller commented 2 years ago

Documentation for radial axis at chart.js: https://www.chartjs.org/docs/2.9.4/axes/radial/linear.html#linear-radial-axis

team-moeller commented 2 years ago

The idea is to support a radial axis in addition to an x and a y axis. This can then also be used to configure the axes in radar and polar charts

team-moeller commented 2 years ago

Code snippet:

scale: {
    ticks: {
        beginAtZero: true,
        min: 1,
        max: 10,
        stepSize: 0.5
    }
},
rezaxkarimi commented 2 years ago

HiGood to hear from youI really enjoyed from your work Looking forward for more improvements Good luckReza

Sent from Yahoo Mail on Android

On Sat, Mar 5, 2022 at 13:19, Thomas @.***> wrote:

Code snippet: scale: { ticks: { beginAtZero: true, min: 1, max: 10, stepSize: 0.5 } },

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>

team-moeller commented 2 years ago

Published with release 2.20.11