dima117 / Chart.Scatter

Scatter chart plugin for Chart.js
http://dima117.github.io/Chart.Scatter
MIT License
97 stars 26 forks source link

Support for scaleOverride, scaleSteps, scaleStepWidth, scaleStartValue from core #10

Closed jchesterisidoro closed 9 years ago

jchesterisidoro commented 9 years ago

I tried using these options but nothing changed. So I thought maybe it's still not supported.

dima117 commented 9 years ago

Yes, it is not supported yet, because it requires the complex logic in case when values are located outside the specified area. Maybe it will be added in near future.

-----Исходное сообщение----- От: "John Chester Isidoro" notifications@github.com Отправлено: ‎05.‎06.‎2015 12:03 Кому: "dima117/Chart.Scatter" Chart.Scatter@noreply.github.com Тема: [Chart.Scatter] Support for scaleOverride, scaleSteps,scaleStepWidth, scaleStartValue from core (#10)

I tried using these options but nothing changed. So I thought maybe it's still not supported. — Reply to this email directly or view it on GitHub.

jchesterisidoro commented 9 years ago

But it's already in the core right? So it's already been solved I assume.

dima117 commented 9 years ago

Yes, this functionality is in core but it has the same error and so it isn't used yet.

-----Исходное сообщение----- От: "John Chester Isidoro" notifications@github.com Отправлено: ‎05.‎06.‎2015 19:00 Кому: "dima117/Chart.Scatter" Chart.Scatter@noreply.github.com Копия: "dima117" dima117a@gmail.com Тема: Re: [Chart.Scatter] Support for scaleOverride, scaleSteps,scaleStepWidth, scaleStartValue from core (#10)

But it's already in the core right? So it's already been solved I assume. — Reply to this email directly or view it on GitHub.

jchesterisidoro commented 9 years ago

That's too bad then. The problem I'm having is that the y-range is too zoomed-in when the y-data have very small differences for example, [27.00, 27.05, 27.056,..., 28]. Do you happen to know any workaround for this? Even using the core's scaleOverride is fine by me. I'm positive that my data won't exceed the specified area.

dima117 commented 9 years ago

Ok, I will use scale calculation from chartjs core for Y axis. I going to change scatter chart code today.

-----Исходное сообщение----- От: "John Chester Isidoro" notifications@github.com Отправлено: ‎06.‎06.‎2015 2:47 Кому: "dima117/Chart.Scatter" Chart.Scatter@noreply.github.com Копия: "dima117" dima117a@gmail.com Тема: Re: [Chart.Scatter] Support for scaleOverride, scaleSteps,scaleStepWidth, scaleStartValue from core (#10)

That's too bad then. The problem I'm having is that the y-range is too zoomed-in when the y-data have very small differences for example, [27.00, 27.05, 27.056,..., 28]. Do you happen to know any workaround for this? Even using the core's scaleOverride is fine by me. I'm positive that my data won't exceed the specified area. — Reply to this email directly or view it on GitHub.

jchesterisidoro commented 9 years ago

Thank you so much!

dima117 commented 9 years ago

Done. Scale range option are supported:

Please update your Chart.Scatter.js

jchesterisidoro commented 9 years ago

It's working. Thanks!