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