Blazor-ApexCharts
Blazor-ApexCharts copied to clipboard
[Help] Double x-axis labels
Hey! I am trying to create a line chart with double annotations on the x-axis. Currently i am printing the weekly summary of scores per day, and in turn the x-axis labels are the week numbers. I would like to either create a second axis of labels that consists of the months or instead of printing the weeks print the corresponsing month. Here is a picture of how it looks right now.
Hi,
I'm not a 100% sure what you are after, is it possible for you to provide an image of how you would like it to be.
So i pretty much want it to look like this, having the months span under the week numbers. If this is not possible another way i could do it is by having the week numbers in the ToolTipX, however i can't figure out how to change the format and text of the tooltip.
Hi,
My initial idea was to use the XAxis group function https://apexcharts.github.io/Blazor-ApexCharts/features/axis#xaxis%20groups But it will be a problem because the weeks can span multiple months.
If you want to go with the tooltip option you could make your custom tooltip, https://apexcharts.github.io/Blazor-ApexCharts/features/tooltip