I created aa x axis as a Auto scale TimeAxis, also I added TimeAxisLabels. The problem is that it always show the labels for some of the ticks periodly. I want to show labels for all of the ticks. How can I do that? Please help.
Do you mean that you want to show an axis label for both major and minor tick marks, or do you want to show an axis label for every major tick mark? The software automatically deletes a tick mark label if it determines that it overlaps with a previous label.
Do you mean that you want to show an axis label for both major and minor tick marks, or do you want to show an axis label for every major tick mark? The software automatically deletes a tick mark label if it determines that it overlaps with a previous label.
Yes I want to show an axis label for both major and minor tick marks. Meanwhile I just want to show year, month, and date for X Axis. I don't want to show hour, minute tick.
The software does not label minor tick marks. You can select a time axis tick mark format that does not include minor tick marks, in that case every tick mark is a major tick mark and labeled. Select whatever TimeDate format you want using the TimeAxisLabels.SetAxisLabelsFormat method.
xAxis1 = New TimeAxis(pTransform1) xAxis1.LineColor = (Color.Black) xAxis1.SetAxisTickMarkTimeBase(ChartObj.TIMEAXIS_DAY)
chartVu.AddChartObject(xAxis1)
xAxisLab1 = New TimeAxisLabels(xAxis1) xAxisLab1.LineColor = (Color.Black) xAxisLab1.SetAxisLabelsFormat(ChartObj.TIMEDATEFORMAT_DMY2000)