Time Series Controls


Edit a Sample

A sample can be edited. This includes its value, code, datetime, name, and marker. The time series controls of the Silverlight Analytics package that are based on samples include the following:

The series classes of the respective controls are:

and the sample classes are:

The first step is to include the necessary namespace, add a new series, and add new samples.

Edit a Sample

Below, we will edit an Individuals sample (named isSample in the examples below) of an Individuals series (named isSeries in the examples below). The process is similar for the other charts listed above:

[Visual Basic]
' Edit the value of the sample
isSample.Value = 0.5

[Visual C#]
// Edit the value of the sample
isSample.Value = 0.5;

In the chart below, you can test the code to see what the result will look like:

Get Microsoft Silverlight