Hi,
please I need help, I’m not eable to create a ChartJS3 with datetime in X.
and if I set Options.Scales.xAxes(0).Type = Wisej.Web.Ext.ChartJS3.ScaleType.Time
the chart it clear all
best
Cristian
SOLVED!
in the extension source code I have add this javascript:
chartjs-adapter-moment v1.0.0
https://cdnjs.com/libraries/chartjs-adapter-moment
now only
.Options.Scales.xAxes(0).Time.DisplayFormats don’t works but I can continue my project and set the format directily in js selecting by Options.Scales.xAxes(0).Time.Unit = TimeScaleTimeUnit
🙂
the console write: 011432 Wisej: This method is not implemented: Check that a complete date adapter is provided.
Hi Levie,
I spoke too soon. I attach a test proj.
There is two problem.
1) ScaleType don’t work with time
2) then if I set Linear, the STEP is ignored.
In the example that I attached you can see that in the hours 13:00 there is displayed too much point
chartjs works with datetime, but I cannot use chartjs and chartjs3 in the same project cause conflicts.
here: https://www.chartjs.org/docs/master/getting-started/v3-migration.html
for time type it write about data adapter, but I don’t understand
I have a project stuck by this problem, for me a workaround would be able to use chartjs and chartjs3 in the same project
best
Cristian
Hi Cristian,
Can you please attach a small sample and link to a demo you’re trying to reproduce?
Thanks,
Levie
Please login first to submit.