G
Graham Epps
The following simple example incorrectly displays the dates along the category axis.
It interpolates dates for the data that do not exist, and moves the provided data values to actually different dates!
Is there a configuration option on the Chart Control that tells it to not interpret the date Category values?
Thanks.
G.
<OBJECT id='ChartSpace1' width=100% height=400
classid='CLSID:0002E556-0000-0000-C000-000000000046'
VIEWASTEXT>
</OBJECT>
<script language='VBScript'>
Sub Window_OnLoad()
Dim Categories
Dim Cnst
Dim Ser
ChartSpace1.Clear()
Set Cnst = ChartSpace1.Constants
ChartSpace1.Charts.Add()
Categories = Array( "7/1/2002", "8/1/2002", "9/1/2002", "10/1/2002", "11/1/2002", "12/1/2002" )
With ChartSpace1.Charts(0)
Set Ser = .SeriesCollection.Add()
Ser.SetData Cnst.chDimCategories, Cnst.chDataLiteral, Categories
Ser.SetData Cnst.chDimValues, Cnst.chDataLiteral, _
Array ( 12, 21, 35, 38, 27, 24 )
.Type = Cnst.chChartTypeColumnStacked3D
End With
End Sub
</script>
It interpolates dates for the data that do not exist, and moves the provided data values to actually different dates!
Is there a configuration option on the Chart Control that tells it to not interpret the date Category values?
Thanks.
G.
<OBJECT id='ChartSpace1' width=100% height=400
classid='CLSID:0002E556-0000-0000-C000-000000000046'
VIEWASTEXT>
</OBJECT>
<script language='VBScript'>
Sub Window_OnLoad()
Dim Categories
Dim Cnst
Dim Ser
ChartSpace1.Clear()
Set Cnst = ChartSpace1.Constants
ChartSpace1.Charts.Add()
Categories = Array( "7/1/2002", "8/1/2002", "9/1/2002", "10/1/2002", "11/1/2002", "12/1/2002" )
With ChartSpace1.Charts(0)
Set Ser = .SeriesCollection.Add()
Ser.SetData Cnst.chDimCategories, Cnst.chDataLiteral, Categories
Ser.SetData Cnst.chDimValues, Cnst.chDataLiteral, _
Array ( 12, 21, 35, 38, 27, 24 )
.Type = Cnst.chChartTypeColumnStacked3D
End With
End Sub
</script>