In the Proessentials control, you can customize the colors and lines of a subset of the chart and the style of the dots according to the user's preferences.
The color is controlled by the Subsetcolors property.
The line style is controlled by the Subsetlinetypes property.
The point style is controlled by the Subsetpointtypes property.
The first index (0) corresponds to the first subset, and the second index (1) corresponds to the second subset, and so on. The sample code is as follows:
'//the following vb.net example sets colors for three subsets//Pego1.PeColor.SubsetColors (0) = Color.FromArgb (255,255,0,
0) ' (0) sets-A-subset Pego1.PeColor.SubsetColors (1) = Color.FromArgb (255,0,255,0) ' (1) sets second Pego1.PeColor.SubsetColors (2) = Color.FromArgb (255,0,0,255) ' (2) sets third subset {The following Delphi example sets Lin E styles for three subsets:} Graph.subsetlinetypes[0]: = Pelt_thinsolid;
{[0]index Sets subset} GRAPH.SUBSETLINETYPES[1]: = Pelt_dash;
{[1]index sets second subset} GRAPH.SUBSETLINETYPES[2]: = Pelt_dot;
{[2]index sets third subset}//the following-C + + example sets line styles for three subsets:int];
Ntmpstyles[0] = Pelt_thinsolid;
NTMPSTYLES[1] = Pelt_dash;
NTMPSTYLES[2] = Pelt_dot;
Pevset (HPE, Pep_nasubsetlinetypes, Ntmpstyles, 3); This is the C example uses Pevset.
It could have also used Pevsetcell like ... int ntmpstyle;
Ntmpstyle = Pelt_thinsolid;
Pevsetcell (HPE, pep_nasubsetlinetypes, 0, &ntmpstyle); NTmpstyle = Pelt_dash;
Pevsetcell (HPE, Pep_nasubsetlinetypes, 1, &ntmpstyle);
Ntmpstyle = Pelt_dot; Pevsetcell (HPE, Pep_nasubsetlinetypes, 2, &ntmpstyle);
Proessentials Latest edition free download address