Attributes Controls
Edit a Sample
A sample can be edited. This includes its count, n (non-conforming), code, datetime, and key.
The attributes controls of the .Net Analytics package that are based on samples include the following:
The series classes of the respective charts are:
and the sample classes are:
The first step is to include the necessary namespaces
for the controls, add a new series, and add new samples.
Edit a Sample
Below, we will edit a c-Chart sample (named sample in the examples below) of a c-Chart series (named series in the
examples below). The process is similar for the other charts listed above:
[Visual Basic]
' Edit the non-conforming items of the sample
sample.N = 4
' An alternative is to directly edit the ith sample of the series
series(2).N = 4
[Visual C#]
// Edit the non-conforming items of the sample
sample.N = 4;
// An alternative is to directly edit the ith sample of the series
series[2].N = 4;