MX-Frame Library Send comments on this topic.
Chart
See Also
MX-Developer > User Interface - MxPart > Controls > Control Properties > Data > Chart

Glossary Item Box

Defines the Chart component containing chart definition.

Remarks

Property specifies Chart component that provides data and design specification for the chart. It is possible to select the component from a drop down list containing all already defined chart components in the same solution.

Chart must already be completely designed along with all series definition, labels, axis and other properties defined. After the property is defined, Adapter and DataSourceName properties must be defined in order to bind the data. After this three properties are defined chart is ready to be displayed.

Example (MxSpace)

To see the defined Chart property on a control (ChartViewer) open MxSpace solution project in Visual Studio. In Solution Explorer expand node Parts and double click StockPart.cs. Click the chart viewer control and open Property Window. See the selected stockChart1 component in the Chart property.

To define Chart property

  1. In Solution Explorer open MxPart component (StockPart) which contains control (ChartViewer) for displaying chart.
  2. Select the desired control (ChartViewer – Stock Chart) on the canvas.
  3. Open Property Window.
  4. In section Data define Chart property. Select the desired predefined chart component (stockChart1) from the drop down list.

See Also

©2009 Metronik. All Rights Reserved.