ASE Home Page Products Download Purchase Support About ASE
ChartDirector Support
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  XAxis SetLabelFormat not working using Data Sources
Posted by Jonathan Thomas on Apr-08-2011 04:18
I'm using  a datasource my chart (XYChart) but can't seem to format the XAxis date range!  No matter what I change the format to, it has no effect.  Do I have to format the date in the SQL?

Thanks

Code:
Dim AxisX1Labels As TextBox = c.xAxis().setLabels(XAxisLabels)
        AxisX1Labels.setWidth(50)
        AxisX1Labels.setFontAngle(90)
        c.xAxis().setLabelFormat("{value|dd-mmm-yyyy a}")
        c.xAxis().setTitle("Shift")

  Re: XAxis SetLabelFormat not working using Data Sources
Posted by Jonathan Thomas on Apr-08-2011 04:28
I just discovered the label columns were being passed as string, not date.  Format works now, just have to get the same styles as before.

Thanks