Grid Chart Mode

10430 ERNSH 458.78
10436 BLONP 156.66
10438 TOMSP 8.24
10440 SAVEA 86.53
10441 OLDWO 73.02

Pie Chart
<script language="VB" runat="server">
Sub Page_Load(Src As Object, E As EventArgs)
  Dim Pie As New Tornado.z
  With Pie
    .dbQP = "U=6| S=Moon| D=nwind| ni=none|th=Ti=Grid Chart Mode"
    .dbMode = "GridChart"
    .dbSQL = "SELECT TOP 5 OrderID, CustomerID, Freight From Orders"
    .dbPieChart = "Value=#2#| Label=#CustomerID#"
    Dim Pc = "width=400| PercentLabelsOff=true|Titlestring=My title"
    .dbChartParams = Pc
  End With
End Sub
Simplified PieChart - Just specify the dbPieChart and override default parameters with dbChartParams.

Send comments on this topic.
Copyright (c) 1998-2006 ASP-db