Jump to content
Software FX Community

Formatting PointLabels


Prabha

Recommended Posts

  • 6 months later...

Hi,

If you have only one Y axis, the code you are using is basically setting the Format twice to the same Axis object. In your code, you are basically setting AxisFormat to Percentage for both series.

Please note that it does not make much sense to set the Axis to use two different formats. What you need to do is create a secondary Y axis, assign one of your series to it and then modify the format for that particular axis:

ChartFX.WinForms.SeriesAttributes series9 = chart1.Series[9];   

serie1.AxisY = chart1.AxisY2;

serie1.AxisY.DataFormat.Format = AxisFormat.Percentage ;

Hope this helps.
 Regards,
 TT
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...