Skip to content

DataVisualization

Javier Suárez edited this page Aug 9, 2020 · 6 revisions

DataVisualization

DataVisualization provide a nice way to visualize data that focuses on productivity and simplicity of use.

Features

  • Three different types of series. Line, Bar and Area Charts.
  • Easy to customize.
  • ControlTemplate support.

Populate data

The chart controls can be configured with data using the DataSource property.

<datavisualization:AreaChart
     DataSource="{Binding Data}"/>

Setting the Title

You can define and customize the Chart title using Title property.

<datavisualization:LineChart
     Title="Line Chart"/>

Axis

Charts typically have two axes that are used to measure and categorize data: a vertical (Y) axis, and a horizontal (X) axis. To customize the Axis we can use the AxisColor property.

GridLines

The grid lines are used to improve the readability of the chart.

Appareance

Can customize the color used by the chart using the Color property.