You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm sorry, I don't quite understand your question. In order to achieve the multiple axis sample, you don't need to explicitly set the axis type.
Just use a single CategoryAxis in the XAxes and two LinearCartesianAxis in the YAxis. Then you can assign an id to an axis and use that same id in your dataset.
Check the source for the sample you sent (via GitHub or the devtools) and you'll see the config used. It's pretty much the same in C#, just different syntax and casing.
Describe your question
How can I set the Type = AxisType.Category?
Which Blazor project type is your question related to?
Which charts is this question related to?
Line
Additional context
I'm trying to set the Type = AxisType.Category, but it's readonly.
Property or indexer 'LinearCartesianAxis.Type' cannot be assigned to -- it is read only
The text was updated successfully, but these errors were encountered: