ASPdbUserChart

Execute ASPdbUserChart to produce a chart with user defined data. There are 3 required properties are - dbUnit, dbUserChartData and dbMagicLayout. dbUserChartData MUST contain the user defined data.

Method Syntax

Obj.ASPdbUserChart

Example

Set X=Server.CreateObject("Asp.DB")
X.dbUnit=9
X.dbUserChartData="Frank,Polly,Ivy,Irene,Iris,Amanda~50,42,19,16,13,10"
X.dbMagicLayout="(;,#)2;CHART_24,http://localhost/ASPDB/Jars,300,300,1,1; dataset0Labels~dataset0yValues; #0#~#1#; titleString=Frank's Family in a Pie~titlefont=Arial,12,5~legendon~legendllX=0.0~legendllY=0.0~ labelPosition=1~valueLabelsOn~ percentLabelsOn~IconWidth=0.03~IconHeight=0.04~ Xloc=0.5~Yloc=0.6~PieWidth=0.5~PieHeight=0.5~ 3D"
X.AspDBUserChart
'Note: the chart object is exported in session variable "aspdb_Layout_Unit_ID"
response.write(session("aspdb_Layout_9_2"))

See dbUserChartData Example #1 for more details.