Hi thereI am using 12.1.20121.2054 of the UltraChart and am having troubles with my chart's legend. The chart is a composite chart made up of a ColumnChart and a Line chart1/ I have assigned the Legend.Location = LegendLocation.Bottom but it still appears at the top right hand side of the chart. How can I affect this location? ultraChart1.Legend.DataAssociation = ChartTypeData.SplitData; // Add a Legend CompositeLegend chartLegend = new CompositeLegend(); columnLayer.LegendItem = LegendItemType.Series; lineLayer.LegendItem = LegendItemType.Series; chartLegend.ChartLayers.Add(columnLayer); chartLegend.ChartLayers.Add(lineLayer); ultraChart1.CompositeChart.Legends.Add(chartLegend); this.ultraChart1.Legend.Location = LegendLocation.Bottom;2/ You will notice under the X axis it has the term "Monthly". I do not want to display this value, in fact I want to hide that value, but if I set the Series.Label to string.Empty or modify the label the legend text is also affected. How can hide the series label but leave the legend label as :Monthly" ?
Regards
geoffhop
Thanks Georgi that fixed it
Here is the sample
Hi
Thanks for attached code and screenshot. To acheive desired behavior you should set :
xAxis.Labels.SeriesLabels.Visible = false;
Please take a look at the sample that I create using your code and my modifications.
Let me know if you have any questions
Hi Georgi
Sorry about the confusion.
I have got the hang of the attachments now!!!
I am talking about the XAxis Label "Monthly" under the XAxis, I would like to hide it but leave the legend unaffected.
Thanks again
Hello geoffhop,
I`m not sure that I understand your issue, because I`m still not able to see your screenshot. Please zip your screenshot and upload it again using "Option" Tab.
Are you talking about Titles in the chart or you are talking about the axis lables ?
Let me know if you have any questions.