Hi,
enjoying the Chart component as well, but have a small problem.
All your examples have a rather short CategoryProperty eg. Q1, JAN etc.
But when it's a longer text it look very bad:
I like the possibility that the pop-up can be a longer text and the value on the x-axis is shorter for readability.
So is it possible that we can add an extra ExtendetCategoryProperty option that if set, can be used in the pop-up?
Best,
CU
korchev
January 18, 2021, 10:26am
2
You can use the Formatter or FormatString property of the category and display whatever value you want. Like in our demo: https://blazor.radzen.com/line-chart
The problem is that the Formatter is used in both the pop-up and on the x-axis.
So they wil be the exact same, and want the longer text in the pop-up.
korchev
January 18, 2021, 10:38am
4
You can then use the ToolTip template and do the opposite.
1 Like
That indeed did the job, have a funny feeling that I should have looked better at the documentation
So a combination of using the Formatter and TooTip template I have it working just like I dreamt of...!
Thank you for the swift feedback!!!!
Best,
CU