Home › forums › Using CanvasJS › DateTime to Double
Tagged: C#, DateTime to Double
Hi! I have a question.
Now I’m using C# to develop some KPIs, but I got a problem.
In this chart https://canvasjs.com/asp-net-mvc-charts/chart-with-crosshair/
How do you take the date into double? I use the .ToOADate(), but it just returns -> 43803 and in the example of the Chart is “1513621800000” How do you do that?
Thank you Indranil Deo, also I found this example:
Thanks Best Regards.
Thanks for sharing the link. It might help others who have similar usecase.
You must be logged in to reply to this topic.