Hi expert's friends,
I copy this codes from this site. It works well in 2003 office .
How can I cut off right Y lable value ( it appears Y label valur both in left and right).
how can I how to formated Y lable value and begin point as 0.
how can I how to change chart x interval value on the web by VAScript
Thanks for help.
Does tsuji is here? I like your answer about chart in office 2000 for other person.
Fairfax VB
*****Source codes
<html><head><title>chart example</title></head>
<body>
<object id=ChartSpace1 classid=CLSID:0002E55D-0000-0000-C000-000000000046 style="width:100%;height:350"></object>
<script language=vbscript>
Sub Window_OnLoad()
Dim oChart
Dim oSeries1, oSeries2,oSeries3
dim oConst
ChartSpace1.Clear
Set oConst = ChartSpace1.Constants
Set oChart = ChartSpace1.Charts.Add
Set oSeries1 = oChart.SeriesCollection.Add
With oSeries1
.Caption = "Calls"
.SetData oConst.chDimCategories, oConst.chDataLiteral, _
Array("11/1/2005", "11/2/2005", "11/3/2005", "11/4/2005","11/5/2005","11/6/2005","11/7/2005","11/8/2005","11/9/2005","11/10/2005","11/11/2005")
.SetData oConst.chDimValues, oConst.chDataLiteral, _
Array(50, 60, 55, 59,53,54,55,57,56,58,57)
.Type = oConst.chChartTypeColumnClustered
End With
oChart.Axes.Add oChart.Scalings(oConst.chDimValues), _
oConst.chAxisPositionRight, oConst.chValueAxis
oChart.Legend.Position = oConst.chLegendPositionBottom
oChart.HasTitle = True
oChart.Title.Caption = "Chart Analyse"
End Sub
</script>
</body>
</html>
I copy this codes from this site. It works well in 2003 office .
How can I cut off right Y lable value ( it appears Y label valur both in left and right).
how can I how to formated Y lable value and begin point as 0.
how can I how to change chart x interval value on the web by VAScript
Thanks for help.
Does tsuji is here? I like your answer about chart in office 2000 for other person.
Fairfax VB
*****Source codes
<html><head><title>chart example</title></head>
<body>
<object id=ChartSpace1 classid=CLSID:0002E55D-0000-0000-C000-000000000046 style="width:100%;height:350"></object>
<script language=vbscript>
Sub Window_OnLoad()
Dim oChart
Dim oSeries1, oSeries2,oSeries3
dim oConst
ChartSpace1.Clear
Set oConst = ChartSpace1.Constants
Set oChart = ChartSpace1.Charts.Add
Set oSeries1 = oChart.SeriesCollection.Add
With oSeries1
.Caption = "Calls"
.SetData oConst.chDimCategories, oConst.chDataLiteral, _
Array("11/1/2005", "11/2/2005", "11/3/2005", "11/4/2005","11/5/2005","11/6/2005","11/7/2005","11/8/2005","11/9/2005","11/10/2005","11/11/2005")
.SetData oConst.chDimValues, oConst.chDataLiteral, _
Array(50, 60, 55, 59,53,54,55,57,56,58,57)
.Type = oConst.chChartTypeColumnClustered
End With
oChart.Axes.Add oChart.Scalings(oConst.chDimValues), _
oConst.chAxisPositionRight, oConst.chValueAxis
oChart.Legend.Position = oConst.chLegendPositionBottom
oChart.HasTitle = True
oChart.Title.Caption = "Chart Analyse"
End Sub
</script>
</body>
</html>