Define Pie chart for GridChart or standalone mode.
dbQP Abbr: pch
Version: Gold
Namespace:
TornadoVersion: Gold
Assembly: Tornado (in Tornado.dll) Version: 12.6.0.9 (1.0.0.0)
Syntax
| C# |
|---|
public string dbPieChart { get; set; } |
| Visual Basic (Declaration) |
|---|
Public Property dbPieChart As String |
Field Value
Mydb.dbPieChart="Value | Label"| Keyword | Description |
|---|---|
| Value | FieldNameOrNumber or Raw data providing the Pie values. |
| Label | FieldNameOrNumber or Raw data providing the Pie labels. |
Remarks
Check HTML dump for defaults.
Overide the values with dbChartParams.
Examples
<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# .dbChartParams = "width=400| PercentLabelsOff=true|Titlestring=My title" .ASPdbNET() End With End Sub </script>