mariusmuntean / ChartJs.Blazor

Brings Chart.js charts to Blazor
https://www.iheartblazor.com/
MIT License
691 stars 152 forks source link

TimePoint is missing #146

Closed papunov closed 4 years ago

papunov commented 4 years ago

Hello,

I am using version 1.1.0 installed via NuGet. TimePoint is missing in the following namespace ChartJs.Blazor.ChartJS.Common.Time.

Could you please check and fix it?

Thanks!

Br, Nikolay Papunov

Joelius300 commented 4 years ago

Do you mean TimeTuple?

papunov commented 4 years ago

I would like to create line chart with Datetime for x. I saw the sample code in the repo and there TimePoint was used. I can see the class in the repo as well but not in the NuGet. If the new method is to use TimeTuple, I am fine to use it. Could you please provide quick sample?

Joelius300 commented 4 years ago

As mentioned in the readme

Unlike the documentation, the samples should always be up to date with the current development on master. That means, that the code you see in the samples folder on master might not actually compile on the current nuget version. To browse the samples for the latest nuget version, see the samples on the releases branch.

So here's the time line chart one.

Joelius300 commented 4 years ago

Btw, please see #122 in regards to the samples.