Chart control is designed to display rich, flexible, configurable and extendable charts. Wpf Chart is 100% look-less control. Chart is able to display multiple areas with multiple charts at the same time. Use Areas property to add Area objects. Chart supports build-in legend. However, if custom legend needed to be displayed, Use Legend property to apply custom legend to chart.
Used to display charts and a grid with axes and labels.
| Method | Description |
|---|
| GetSeriesLayoutBounds() | Calculates layout bounds without tick and tittle labels. |
| Invalidate() | Invalidates Area and all it's children. |
| GetActualPoint( Point point ) | Converts point in user logic coordinates into actual pixels point. |
| GetActualPoint( DataPoint point ) | Converts DataPoint into actual pixels point. |
| HighlightSeries( Series series, bool highlighted ) | Sets highlighted state for specified series. |
Displays a list of DataPoint primitives in an Area of a Chart.
| Property | Description |
|---|
| ShowHintLabels | Gets or Sets, show hint labels for series elements or not. |
| ShowPointsInLegend | If true, DataPoints from this Series are displayed in legend. |
| IsOwnerHighlight | Gets or Sets, is this Series performing highlight of it's child elements manually or not. |
| MarkerTemplate | Gets or Sets DataTemplate for Markers. |
| Template | Gets or Sets DataTemplate for this Series elements. |
| HintLabelTemplate | Gets or sets hint label template for elements of this series. |
| HintLineTemplate | Gets or sets hint line template for elements of this series. |
| HintLineLength | Gets or sets hint line length. |
| Title | Gets or Sets Series Title. Displayed in LegendItem |
| Spacing | Gets or Sets Spacing between series elements. this value is % relative to element width. Example: if for Column layout type spacing is 20, then column width is 80. |
| Layout | Gets or Sets LayoutEngine for this Series, that will layout this Series. |
| DefaultInterior | Gets or Sets default interior color for series elements. |
| Area | Gets parent Area |
| DataPointBindings | Gets list of BindingInfo objects. Add BindingInfo objects to this list to set up binding for DataPoints. |
| DataPointsSource | Gets or Sets binding source for DataPoints. |
| DataPoints | Gets or sets list of DataPoint. |
| LayoutPrimitives | Gets list of ChartPrimitive for layout elements. |
| LayoutHints | Gets list of ChartPrimitive for layout hints. |
Represents an axis.
| Property | Description |
|---|
| LabelsType | Gets or sets type of tick labels. |
| DateTimeFormatInfo | Gets or sets DateTime format, uses to convert DateTime to labels text in LabelsType.DateTime mode. |
| DateTimeFormat | Gets or sets DateTime format. Used from convert DateTime to labels text in LabelsType.DateTime mode. |
| Location | Gets start point of axis line. |
| ScaleMode | Gets or sets scale mode of the axis. |
| GraduationMode | Gets or sets graduation mode of the axis. |
| CustomRangeStart | Gets or sets custom start point for manual scale mode. |
| CustomRangeEnd | Gets or sets custom end point for manual scale mode. |
| TickLabels | Gets list of tick labels. |
| TicksCount | Gets or sets the count of ticks. |
| TitleMargin | Gets or sets the margin between title label and axis line. |
| TickList | Gets collection of ticks. |
| GridLines | Gets collection of grid lines. |
| ShowArrow | Gets or sets the visibility of the arrow. |
| ShowAxis | Gets or sets the visibility of the axis. |
| ShowGridLines | Gets or sets the visibility of grid lines. |
| ShowTicks | Gets or sets the visibility of ticks. |
| ShowTickLabels | Gets or sets the visibility of tick labels. |
| ShowAxisLabel | Gets or sets the visibility of the axis label. |
| Reversed | Gets or sets indicator of the axis revertion. |
| Range | Gets or sets range of the axis. |
| GridTemplate | Gets or sets data template for grid lines representation. |
| TickTemplate | Gets or sets data template for ticks representation. |
| ArrowTemplate | Gets or sets data template for arrow representation. |
| LabelTemplate | Gets or sets data template for labels representation. |
| Arrow | Gets or sets instance of the axis arrow. |
| Title | Gets or sets text for title label. |
| AxisTitleTemplate | Gets or sets data template for axis labels representation. |
| AxisLabelsLayout | Gets or sets axis labels style of layout. |
| GridPoint | Gets layout point used to calculate position of the element. (Inherited from GridLine) |
| Orientation | Gets or sets orientation of the grid line. (Inherited from GridLine) |
| Info | Gets or Sets binding source object for this primitive. (Inherited from ChartPrimitive) |
| IsHighlighted | Gets or Sets, is primitive highlighted or not. (Inherited from ChartPrimitive) |
| IsCovered | Gets or Sets is primitive "covered" or not. "Covered" means this primitive is not highlighted, but some other primitive is highlighted. |
| DataPoint | Gets DataPoint corresponding to this primitive. (Inherited from ChartPrimitive) |