S
s80ts0465
Hi,
i'm really new to programmin with OWC.
I use mysql and asp and i'd like to use OWC10 to draw some graph. Righ
now i'm using this code that works fine:
Code
-------------------
Dim ObjChart
Dim ChaCon
Dim ObjCharts
Dim SerCol
Set ObjChart = Server.CreateObject("OWC10.Chartspace")
Set ChaCon = ObjChart.Constants
Set ObjCharts = ObjChart.Charts.Add
Set SerCol = ObjCharts.SeriesCollection.Add
Set SerCol1 = ObjCharts.SeriesCollection.Add
ObjCharts.Type = ChaCon.chChartTypeColumnClustered
SerCol.Caption = "Estimated Income"
SerCol.SetData ChaCon.chDimCategories, ChaCon.chDataLiteral,ora
SerCol.SetData ChaCon.chDimValues, ChaCon.chDataLiteral,uptime
ObjChart.HasChartSpaceTitle=True
ObjChart.ChartSpaceTitle.Caption = "Earnings Breakdown"
ObjChart.HasChartSpaceLegend = True
ObjChart.ChartSpaceLegend.Position = ChaCon.chLegendPositionRight
-------------------
but i'd like to add a X Axis because ono the x axes i've some date/hou
(ex:01/01/2006 19:20:00) so i've to set the X axes to view all the dat
by category.
But i have no clue on witch is the right command to set the Axi
format!!
Where do u find the documentation (link please, i've alreadylooked fo
it with no good results)
bye st
i'm really new to programmin with OWC.
I use mysql and asp and i'd like to use OWC10 to draw some graph. Righ
now i'm using this code that works fine:
Code
-------------------
Dim ObjChart
Dim ChaCon
Dim ObjCharts
Dim SerCol
Set ObjChart = Server.CreateObject("OWC10.Chartspace")
Set ChaCon = ObjChart.Constants
Set ObjCharts = ObjChart.Charts.Add
Set SerCol = ObjCharts.SeriesCollection.Add
Set SerCol1 = ObjCharts.SeriesCollection.Add
ObjCharts.Type = ChaCon.chChartTypeColumnClustered
SerCol.Caption = "Estimated Income"
SerCol.SetData ChaCon.chDimCategories, ChaCon.chDataLiteral,ora
SerCol.SetData ChaCon.chDimValues, ChaCon.chDataLiteral,uptime
ObjChart.HasChartSpaceTitle=True
ObjChart.ChartSpaceTitle.Caption = "Earnings Breakdown"
ObjChart.HasChartSpaceLegend = True
ObjChart.ChartSpaceLegend.Position = ChaCon.chLegendPositionRight
-------------------
but i'd like to add a X Axis because ono the x axes i've some date/hou
(ex:01/01/2006 19:20:00) so i've to set the X axes to view all the dat
by category.
But i have no clue on witch is the right command to set the Axi
format!!
Where do u find the documentation (link please, i've alreadylooked fo
it with no good results)
bye st