====== API: Chart Controls ======
API Reference for charts and visualizations.
===== TWvdSChart =====
Base chart control for all chart types.
==== Namespace ====
''WvdS.UI.Controls.Charts''
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ Title | string | '' | Chart title |
^ Series | TWvdSSeriesCollection | nil | Data series |
^ Legend | TWvdSLegend | nil | Legend |
^ AxisX | TWvdSAxis | nil | X-axis |
^ AxisY | TWvdSAxis | nil | Y-axis |
^ Palette | TWvdSPalette | nil | Color palette |
^ EnableZoom | Boolean | False | Zoom enabled |
^ EnablePan | Boolean | False | Panning enabled |
==== Events ====
| Event | Signature | Description |
^ OnSeriesClick | TSeriesClickEvent | Click on data point |
^ OnLegendClick | TLegendClickEvent | Click on legend |
----
===== TWvdSSparkline =====
Compact inline charts.
==== Namespace ====
''WvdS.UI.Controls.Charts''
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ Type | TWvdSSparklineType | stLine | Line, Bar, WinLoss, Area |
^ Data | TDoubleArray | nil | Data points |
^ HighlightMin | Boolean | False | Highlight minimum |
^ HighlightMax | Boolean | False | Highlight maximum |
^ NegativeColor | TWvdSColor | clRed | Color for negative values |
----
===== Series Types =====
All series share common base properties:
| Property | Type | Description |
^ Title | string | Series title |
^ DataSource | IEnumerable | Data source |
^ ArgumentDataMember | string | X-value field |
^ ValueDataMember | string | Y-value field |
^ Color | TWvdSColor | Color |
^ Visible | Boolean | Visible |
----
===== TWvdSLineSeries =====
Line chart.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ MarkerType | TWvdSMarkerType | mtNone | None, Circle, Square, Triangle |
^ MarkerSize | Integer | 8 | Marker size |
^ LineStyle | TWvdSLineStyle | lsSolid | Solid, Dash, Dot |
^ LineWidth | Integer | 2 | Line width |
----
===== TWvdSAreaSeries =====
Area chart.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ Opacity | Double | 0.5 | Transparency (0-1) |
^ ShowLine | Boolean | True | Show top line |
----
===== TWvdSBarSeries =====
Bar chart.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ BarWidth | Double | 0.6 | Bar width (0-1) |
^ CornerRadius | Integer | 0 | Corner radius |
^ ShowLabels | Boolean | False | Show values |
----
===== TWvdSPieSeries =====
Pie chart.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ InnerRadius | Double | 0 | Donut hole (0=Pie) |
^ StartAngle | Double | 0 | Start angle |
^ ShowLabels | Boolean | True | Show labels |
^ ExplodeOffset | Double | 0 | Segment offset |
----
===== TWvdSFunnelSeries =====
Funnel chart for sales funnels.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ NeckHeight | Double | 0.3 | Neck height (0-1) |
^ NeckWidth | Double | 0.3 | Neck width (0-1) |
^ GapRatio | Double | 0 | Gap between segments |
----
===== TWvdSScatterSeries =====
Scatter chart.
==== PXAML ====
----
===== TWvdSBubbleSeries =====
Bubble chart.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ SizeDataMember | string | '' | Bubble size field |
^ MinBubbleSize | Integer | 10 | Minimum bubble size |
^ MaxBubbleSize | Integer | 50 | Maximum bubble size |
----
===== TWvdSCandlestickSeries =====
Candlestick chart for stock data.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ OpenDataMember | string | '' | Open price |
^ HighDataMember | string | '' | High price |
^ LowDataMember | string | '' | Low price |
^ CloseDataMember | string | '' | Close price |
^ UpColor | TWvdSColor | clGreen | Color on gain |
^ DownColor | TWvdSColor | clRed | Color on loss |
----
===== TWvdSRadarSeries =====
Radar/Spider chart.
==== PXAML ====
----
===== TWvdSTreeMapSeries =====
TreeMap visualization.
==== PXAML ====
----
===== TWvdSSankeyDiagram =====
Sankey flow diagram.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ SourceDataMember | string | '' | Source node |
^ TargetDataMember | string | '' | Target node |
^ WeightDataMember | string | '' | Flow weight |
----
===== TWvdSWaterfallSeries =====
Waterfall chart.
==== PXAML ====
==== Properties ====
| Property | Type | Default | Description |
^ StartValue | Double | 0 | Start value |
^ ShowTotal | Boolean | True | Show total |
^ PositiveColor | TWvdSColor | clGreen | Positive color |
^ NegativeColor | TWvdSColor | clRed | Negative color |
----
===== See Also =====
* [[.:control-bibliothek|Control Library]]
* [[.:api-controls-gauges|Gauges API]]
* [[.:api-controls-data|Data Controls API]]