Quantcast
Viewing all articles
Browse latest Browse all 7205

How to bind a numeric chart range control client to an array of integers


This example demonstrates how to set up a range control with the numeric chart client to display a chart with numeric data in the range control's background.

Usually, in order to provide data to a chart numeric range control client, you need to specify a datasource using the ChartRangeControlClient.ItemsSource property and specify the required data fields via ChartRangeControlClient.ArgumentDataMember and ChartRangeControlClient.ValueDataMember properties (for more information, see the How to bind a numeric chart range control client to a list of custom objects example).

In the current example, a numeric chart client is bound to an array of simple type objects using the ItemsSource property. In this scenario the data values are shown in the same order in which elements have been added to the array.

If you wish to display chart points sorted by arguments in the ascending order, for example, from the collection, specify the ArgumentDataMember property as shown in the How to bind a numeric chart range control client to a point collection example.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>