Use Mschart !!! under ASP !!!

zhaozj2021-02-17  45

There are some posts online, I hope to use the MSChart control under the ASP to display curves, pie charts, and some people give some answers, but the author tried a few, but they were unsuccessful. The main reason is that after the value of DATA and CHARTDATA, MSChart still displays a random value, not the value being assigned. Now give the following method to assign MSCHART:

For i = 1 to 5 'line number

Mschart1.row = i 'editing the current line

Mschart1.rowLabel = "Row" & i "display line label

Call Mschart1.DataGrid.SetData (i, 1, i * 5, nullflag) is assigned to the current line, column

Call Mschart1.DataGrid.SetData (i, 2, i * 10, nullflag) only two columns

NEXT

Msdn.microsoft.com provides a detailed description of MSChart properties, methods, etc.

转载请注明原文地址:https://www.9cbs.com/read-28374.html

New Post(0)