I can't get my chart to display the x-axis labels. Whats wrong?
chartGwData.Axis.X.Labels.SeriesLabels.Orientation = TextOrientation.Horizontal;
chartGwData.Axis.X.Labels.SeriesLabels.Layout.Behavior = AxisLabelLayoutBehaviors.None;
chartGwData.Axis.X.Labels.Layout.Behavior = AxisLabelLayoutBehaviors.None;
chartGwData.Axis.X.RangeType = AxisRangeType.Automatic;
chartGwData.Axis.X.TickmarkStyle = AxisTickStyle.Smart;
chartGwData.Axis.X.TickmarkInterval = 7;
chartGwData.Axis.Y.TickmarkIntervalType = AxisIntervalType.Days;
chartGwData.Axis.X.RangeMax = maxXRange.Ticks;
chartGwData.Axis.X.RangeMin = minXRange.Ticks;
chartGwData.Axis.X.Labels.SeriesLabels.Format = DateTime;
chartGwData.Axis.X.Labels.SeriesLabels.Visible = true;
Hello Jrubengb,
I`m not familiar with your scenario, but when I look at the provided code, everything looks good, maybe except only this row:
Maybe the axis should be "X" insted of "Y". If you have a time could you please take a look at the attached sample. I try to reproduce your scenario in a small sample. Please let me know if you think that your scenario is different or if you have any questions. Please do not hesitate to modify my sample and revert it back to me. I`ll be glad to research the issue for you.
Regards
Could you save that down to VS 2008? I am working with c# in VS 2008 and Infragistics Netvantage 2010. Thanks so much! Ruben
Hello Ruben,
I made my sample with VS2010 , but I think that you are able to open with VS 2008. Just navigate to the project file “CompositeChart.csproj” in folder “……\CompositeLineChart_4\CompositeLineChart_4\CompositeChart” and run it. Please let me know if you have any questions.