Grid Chart Mode

OrderIDCustomerIDFreight
10348 WANDK 1
10365 ANTON 55
10367 VAFFE 13.55
10375 HUNGC 20.12
10380 HUNGO 35.03

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
    .ASPdbNET()
  End With
End Sub
</script>
Simplified PieChart - Just specify the dbPieChart and override default parameters with dbChartParams.

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