====== API: Chart Controls ======
Riferimento API per grafici e visualizzazioni.
===== TWvdSChart =====
Control grafico base per tutti i tipi di diagramma.
==== Namespace ====
''WvdS.UI.Controls.Charts''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Title | string | '' | Titolo grafico |
^ Series | TWvdSSeriesCollection | nil | Serie dati |
^ Legend | TWvdSLegend | nil | Legenda |
^ AxisX | TWvdSAxis | nil | Asse X |
^ AxisY | TWvdSAxis | nil | Asse Y |
^ Palette | TWvdSPalette | nil | Palette colori |
^ EnableZoom | Boolean | False | Zoom attivo |
^ EnablePan | Boolean | False | Pan attivo |
==== Events ====
| Event | Firma | Descrizione |
^ OnSeriesClick | TSeriesClickEvent | Click su punto dati |
^ OnLegendClick | TLegendClickEvent | Click su legenda |
----
===== TWvdSSparkline =====
Grafici inline compatti.
==== Namespace ====
''WvdS.UI.Controls.Charts''
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Type | TWvdSSparklineType | stLine | Line, Bar, WinLoss, Area |
^ Data | TDoubleArray | nil | Punti dati |
^ HighlightMin | Boolean | False | Evidenzia minimo |
^ HighlightMax | Boolean | False | Evidenzia massimo |
^ NegativeColor | TWvdSColor | clRed | Colore valori negativi |
----
===== Tipi Serie =====
Tutte le serie condividono property base comuni:
| Property | Tipo | Descrizione |
^ Title | string | Titolo serie |
^ DataSource | IEnumerable | Sorgente dati |
^ ArgumentDataMember | string | Campo valore X |
^ ValueDataMember | string | Campo valore Y |
^ Color | TWvdSColor | Colore |
^ Visible | Boolean | Visibile |
----
===== TWvdSLineSeries =====
Grafico a linee.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ MarkerType | TWvdSMarkerType | mtNone | None, Circle, Square, Triangle |
^ MarkerSize | Integer | 8 | Dimensione marker |
^ LineStyle | TWvdSLineStyle | lsSolid | Solid, Dash, Dot |
^ LineWidth | Integer | 2 | Spessore linea |
----
===== TWvdSAreaSeries =====
Grafico ad area.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ Opacity | Double | 0.5 | Trasparenza (0-1) |
^ ShowLine | Boolean | True | Mostra linea superiore |
----
===== TWvdSBarSeries =====
Grafico a barre.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ BarWidth | Double | 0.6 | Larghezza barra (0-1) |
^ CornerRadius | Integer | 0 | Raggio angoli |
^ ShowLabels | Boolean | False | Mostra valori |
----
===== TWvdSPieSeries =====
Grafico a torta.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ InnerRadius | Double | 0 | Foro donut (0=Pie) |
^ StartAngle | Double | 0 | Angolo iniziale |
^ ShowLabels | Boolean | True | Mostra etichette |
^ ExplodeOffset | Double | 0 | Distanza segmenti |
----
===== TWvdSFunnelSeries =====
Grafico a imbuto per sales funnel.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ NeckHeight | Double | 0.3 | Altezza collo (0-1) |
^ NeckWidth | Double | 0.3 | Larghezza collo (0-1) |
^ GapRatio | Double | 0 | Distanza tra segmenti |
----
===== TWvdSScatterSeries =====
Grafico a dispersione.
==== PXAML ====
----
===== TWvdSBubbleSeries =====
Grafico a bolle.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ SizeDataMember | string | '' | Campo dimensione bolla |
^ MinBubbleSize | Integer | 10 | Dimensione minima bolla |
^ MaxBubbleSize | Integer | 50 | Dimensione massima bolla |
----
===== TWvdSCandlestickSeries =====
Grafico candlestick per dati di borsa.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ OpenDataMember | string | '' | Prezzo apertura |
^ HighDataMember | string | '' | Prezzo massimo |
^ LowDataMember | string | '' | Prezzo minimo |
^ CloseDataMember | string | '' | Prezzo chiusura |
^ UpColor | TWvdSColor | clGreen | Colore guadagno |
^ DownColor | TWvdSColor | clRed | Colore perdita |
----
===== TWvdSRadarSeries =====
Grafico radar/spider.
==== PXAML ====
----
===== TWvdSTreeMapSeries =====
Visualizzazione TreeMap.
==== PXAML ====
----
===== TWvdSSankeyDiagram =====
Diagramma di flusso Sankey.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ SourceDataMember | string | '' | Nodo sorgente |
^ TargetDataMember | string | '' | Nodo destinazione |
^ WeightDataMember | string | '' | Intensita flusso |
----
===== TWvdSWaterfallSeries =====
Grafico waterfall.
==== PXAML ====
==== Properties ====
| Property | Tipo | Default | Descrizione |
^ StartValue | Double | 0 | Valore iniziale |
^ ShowTotal | Boolean | True | Mostra totale |
^ PositiveColor | TWvdSColor | clGreen | Colore positivo |
^ NegativeColor | TWvdSColor | clRed | Colore negativo |
----
===== Vedi anche =====
* [[.:control-bibliothek|Libreria Control]]
* [[.:api-controls-gauges|API Gauges]]
* [[.:api-controls-data|API Data Controls]]