set Axes OWC10

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top