I try to show a string like a X-axis label but I don't manage to find my error. Could you help me?(This a 3D bar)
graphChartDataSeries.LegendLabel =
"values A";
graphChartDataSeries2.LegendLabel =
"values B";
graphChartDataSeries3.LegendLabel =
"values C";
graphChartDataSeries.Add(
new DataPoint(10000) { LegendLabel = "values 1" });
graphChartDataSeries2.Add(
new DataPoint(11000) { LegendLabel = "values 1" });
graphChartDataSeries3.Add(
new DataPoint(12000) { LegendLabel = "values 1" });
graphChartDataSeries.Add(
new DataPoint(80000) { LegendLabel = "values 2" });
graphChartDataSeries2.Add(
new DataPoint(82000) { LegendLabel = "values 2" });
graphChartDataSeries3.Add(
new DataPoint(84000) { LegendLabel = "values 2" });
graphChartDataSeries.Add(
new DataPoint(40000) { LegendLabel = "values 3" });
graphChartDataSeries2.Add(
new DataPoint(42000) { LegendLabel = "values 3" });
graphChartDataSeries3.Add(
new DataPoint(45000) { LegendLabel = "values 3" });
graphChartDataSeries.Add(
new DataPoint(55000) { LegendLabel = "values 4" });
graphChartDataSeries2.Add(
new DataPoint(57000) { LegendLabel = "values 4" });
graphChartDataSeries3.Add(
new DataPoint(60000) { LegendLabel = "values 4" });
graphChartDataSeries.Add(
new DataPoint(205000) { LegendLabel = "values 5" });
graphChartDataSeries2.Add(
new DataPoint(207000) { LegendLabel = "values 5" });
graphChartDataSeries3.Add(
new DataPoint(209000) { LegendLabel = "values 5" });
chart1.DefaultView.ChartArea.AxisX.DefaultLabelFormat=//???? <-----I don't know which format I need to put here
chart1.DefaultView.ChartArea.AxisX.LabelRotationAngle = 45;
chart1.DefaultView.ChartArea.DataSeries.Add(graphChartDataSeries);
chart1.DefaultView.ChartArea.DataSeries.Add(graphChartDataSeries2);
chart1.DefaultView.ChartArea.DataSeries.Add(graphChartDataSeries3);
The other question is, I want to hide values on 3d Bars but I also don't how...
regards,
Mat