When doing a line chart, by default, the X axis is drawn on the 0 position of the Y Axis. However, we have some charts that goes into the negative, and the user wants the x-axis to always be at the bottom of the chart, rather than on the 0 line of the Y axis.
Additionally, they would also like to have a horizontal line on the 0 position of the Y axis, but this line should not have any ticks or labels on it.
Now only for that 0 line. I’m assuming that I can achieve this using the SecondCategoryAxis, but how do I set its cross at value on the Y axis, since there is only one CrossAt Property?
Unfortunately, what I thought would be my solution did not work. I need the chart to be drawn from the zero line, but I need the tick labels to be at the bottom of the chart. I’m not even sure how the user managed to achieve this in Excel, never mind translating it into ASPOSE code.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.