开发者

ASP.NET4 Charting Only show certain dates on X-axis

开发者 https://www.devze.com 2023-04-06 10:36 出处:网络
I\'m using ASP.NET to draw some line charts with multiple series.On the x-axis I am plotting the date however I do not have values for weekend dates and therefore it is drawing a straight line from th

I'm using ASP.NET to draw some line charts with multiple series. On the x-axis I am plotting the date however I do not have values for weekend dates and therefore it is drawing a straight line from the friday to the monday.

I'm wondering is there a way to basically only show dates on the x-a开发者_运维知识库xis for where you actually have values?

I have tried setting the x-axis data type to string which works except for when I have some missing values during the week. If that happens, it basically messes up my scale with duplicate entries.

ASP.NET4 Charting Only show certain dates on X-axis

ASP.NET4 Charting Only show certain dates on X-axis

0

精彩评论

暂无评论...
验证码 换一张
取 消