Jump to content
Software FX Community

Bar chart Label


Selvam84
 Share

Recommended Posts

I am New to ChartFX, I am using Bar chart with two series (0,0) (1,0) and an additional Y axis so that each

series will be mapped against diff Y axis which is working fine

But when i tried to assign Label to the series as below

Chart1.Series[0].AxisX.Labels[0] = "Label1";

Chart1.Series[1].AxisX.Labels[0] = "Label2";

I can see only one label i.e "Label1" between the bars I couldn't see "Laebl2"

Another option I tried is I used two series (0,0) (1,1)

and assigned label as follows

Chart1.Series[0].AxisX.Labels[0] = "Label1";

Chart1.Series[1].AxisX.Labels[1] = "Label2";

here i can see both the labels but they are aligned to the edge of the bar's like below, But I want the labels to be aligned to the center of the Bar somehow. Is it possible with two series in Bar chart, Please help me, Thanks 

----- ------

| | |   |

| | |   |

| |   |   |

| | |   |

--------------------------------------

  Label1   Label2

post-4692-13922412784413_thumb.jpg

Link to comment
Share on other sites

  • 1 month later...

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.

 Share

×
×
  • Create New...