Selvam84 Posted August 15, 2009 Report Share Posted August 15, 2009 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 Quote Link to comment Share on other sites More sharing options...
CarlosAC Posted October 8, 2009 Report Share Posted October 8, 2009 Hi Selvam84 Please try using following code: chart1.AxisX.Labels[0] = "Label1"; chart1.AxisX.Labels[1] = "Label2"; -- Pipon Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.