Use cWebView.pkg Use cWebPanel.pkg Use cWebForm.pkg Use csfWebChart.pkg Use cWebButton.pkg Object oLogLineChartDemo is a cWebView //Set piWidth to 700 Set psCaption to "Line Logarithmic Chart Demo" // Using the demo at: // https://ej2.syncfusion.com/javascript/demos/#/material/chart/logarithmic-scale.html // as an example. 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 "Product X Growth [1995-2005]" Set pbTooltip to True Object oXAxis is a csfWebChartAxis Set peAxisType to chartAxisX Set psTitle to "X Axis" Set piInterval to 2 Set psValueType to "DateTime" Set psEdgeLabelPlacement to "Shift" End_Object Object oYAxis is a csfWebChartAxis Set peAxisType to chartAxisY Set psTitle to "Y Axis" Set psValueType to "Logarithmic" Set psEdgeLabelPlacement to "Shift" Set piMinorTicksPerInterval to 5 Set piMinimum to 0 Set piMaximum to 100000 Set piInterval to 1 Set psLabelFormat to "${value}" End_Object Object oTooltip is a csfWebChartTooltip Set pbEnabled to True // don't share it.. that's weird //Set pbShared to True Set psHeader to "" Set psFormat to "${point.x} : ${point.y}" End_Object Object oFirstSeries is a csfWebChartSeries Set psYName to "Product X" Object oFirstMarkers is a csfWebChartMarker Set pbVisible to True Set pbIsFilled to True Set piHeight to 7 Set piWidth to 7 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 01/01/1995 80 Send AddPoint 01/01/1996 200 Send AddPoint 01/01/1997 400 Send AddPoint 01/01/1998 600 Send AddPoint 01/01/1999 700 Send AddPoint 01/01/2000 1400 Send AddPoint 01/01/2001 2000 Send AddPoint 01/01/2002 4000 Send AddPoint 01/01/2003 6000 Send AddPoint 01/01/2004 8000 Send AddPoint 01/01/2005 11000 End_Procedure End_Object Object oSecondSeries is a csfWebChartSeries Object oSecondMarkers is a csfWebChartMarker Set pbVisible to True Set psShape to "Diamond" Set pbEnableAnimation to False Object oSecondDataLabel is a csfWebChartDataLabel Set pbVisible to True //Set psPosition to "Bottom" //Set psAlignment to "Far" End_Object End_Object Procedure LoadDynamicData Send ClearData Send LoadPoint 01/01/1995 2000 Send LoadPoint 01/01/1996 300 Send LoadPoint 01/01/1997 500 Send LoadPoint 01/01/1998 1000 Send LoadPoint 01/01/1999 4000 Send LoadPoint 01/01/2000 5000 Send LoadPoint 01/01/2001 8000 Send LoadPoint 01/01/2002 12000 Send LoadPoint 01/01/2003 20000 Send LoadPoint 01/01/2004 30000 Send LoadPoint 01/01/2005 45000 Send RefreshLiveData of oWebChart End_Procedure End_Object End_Object Object oAddDataButton is a cWebButton Set piColumnSpan to 2 Set psCaption to "Add Live Data" Set psToolTip to "Dynamically add series data" Procedure OnClick Send LoadDynamicData of oSecondSeries End_Procedure End_Object Object oClearDataButton is a cWebButton Set piColumnSpan to 2 Set psCaption to "Clear Data" Set psToolTip to "Clear series data" Set piColumnIndex to 2 Procedure OnClick Send ClearData of oSecondSeries End_Procedure End_Object End_Object End_Object