Use cWebView.pkg Use cWebPanel.pkg Use cWebForm.pkg Use csfWebChart.pkg Object oLineChartDemo is a cWebView //Set piWidth to 700 Set psCaption to "Line Chart Demo" // Your DDO structure will go here Object oWebMainPanel is a cWebPanel Set piColumnCount to 12 Set pbFillHeight to True Object oWebChart is a csfWebChart Set piHeight to 400 Set piColumnSpan to 12 Set psTitle to "demo line chart" Set pbTooltip to True Object oXAxis is a csfWebChartAxis Set peAxisType to chartAxisX Set psTitle to "X Axis" End_Object Object oYAxis is a csfWebChartAxis Set peAxisType to chartAxisY Set psTitle to "Y Axis" End_Object Object oFirstSeries is a csfWebChartSeries Object oFirstMarkers is a csfWebChartMarker Set pbVisible to True Object oFirstDataLabel is a csfWebChartDataLabel Set pbVisible to True Set psPosition to "Top" Set psAlignment to "Near" End_Object End_Object Procedure OnAddChartData Send AddPoint 1 2 Send AddPoint 2 3.6 Send AddPoint 3 7 Send AddPoint 4 6 End_Procedure End_Object Object oSecondSeries is a csfWebChartSeries Object oSecondMarkers is a csfWebChartMarker Set pbVisible to True Set psShape to "Diamond" Object oSecondDataLabel is a csfWebChartDataLabel Set pbVisible to True Set psPosition to "Bottom" Set psAlignment to "Far" End_Object End_Object Procedure OnAddChartData Send AddPoint 1 1 Send AddPoint 2 3 Send AddPoint 3 5 Send AddPoint 4 8 End_Procedure End_Object End_Object End_Object End_Object