How to set maxvalue and min value lines in chart.

Technical support for Presentation

Moderator: iceblue support

How to set maxvalue and min value lines in chart.

Postby stp_webdev » Fri May 19, 2017 2:05 pm

Please see the attached image to understand the requirement.
You do not have the required permissions to view the files attached to this post.
stp_webdev
 
Posts: 15
Joined: Fri Apr 21, 2017 1:40 pm

Re: How to set maxvalue and min value lines in chart.

Postby Nina.Tang » Mon May 22, 2017 7:09 am

Hello,

Thanks for your inquiry and sorry for the late reply as weekend.
As per my understanding, you want to operate units of axis. Here is sample code for your reference.
Code: Select all
chart.PrimaryValueAxis.IsAutoMajor = false;
chart.PrimaryValueAxis.MajorUnit = 4.0f;
chart.PrimaryValueAxis.MajorGridTextLines.SolidFillColor.Color = Color.LightSkyBlue;

If I misunderstood you, please write back to clarify your requirement.

Sincerely,
Nina
E-iceblue support team
User avatar
Nina.Tang
 
Posts: 85
Joined: Tue Sep 27, 2016 1:06 am

Re: How to set maxvalue and min value lines in chart.

Postby stp_webdev » Mon May 22, 2017 12:07 pm

Thank You. Yours code works for me.
stp_webdev
 
Posts: 15
Joined: Fri Apr 21, 2017 1:40 pm

Re: How to set maxvalue and min value lines in chart.

Postby Nina.Tang » Tue May 23, 2017 6:13 am

Hello,

I'm glad to hear from you.
Please feel free to contact us if you need further assistance.

Sincerely,
Nina
E-iceblue support team
User avatar
Nina.Tang
 
Posts: 85
Joined: Tue Sep 27, 2016 1:06 am


Return to Spire.Presentation

Who is online

Users browsing this forum: No registered users and 0 guests