Multilevel labels - Date Time Error

Hello,

I extracted a code snippet from a previous post, which adds a second-tier label to the x-axis of a line chart. The x-axis is linked to a series of dates, with the second-tier label rendered according to a start and end date.  

Unfortunately, I am getting an invalid cast exception when running the Blazor component: -

Error: System.InvalidCastException: Invalid cast from 'DateTime' to 'Double'.

Can you please advise where I am going wrong?

Many thanks,

Martin    




Attachment: MultiAxis_66c716fa.zip

2 Replies

SB Swetha Babu Syncfusion Team February 28, 2022 10:02 AM UTC

Hi Martin, 

Greetings from Syncfusion. 

We have considered the reported scenario as a defect and logged the defect report for the same. However, we will include the fix for the reported issue in our weekly patch release which is expected to be rolled out on 8th March, 2022. Please find the below feedback link to keep track of the reported issue. 


If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal.  

Regards, 
Swetha


DG Durga Gopalakrishnan Syncfusion Team March 8, 2022 09:23 PM UTC

Hi Martin,


We are glad to announce that our v19.4.0.55 patch release is rolled out; we have added the fix for reported issue. You can use the latest Syncfusion.Blazor.Charts NuGet package version.


NuGet Package : https://www.nuget.org/packages/Syncfusion.Blazor.Charts/


We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.


Regards,

Durga G


Loader.
Up arrow icon