![typing tutorial 6 typing tutorial 6](https://images.ctfassets.net/p0qf7j048i0q/8893A0B3AD424FBFB577A35D8557A6A3/dd64e397a8e9e2bdec68abe380c14f43/3_Epistory.jpg)
Series(2).Marks.Visible = True ' Line Series default is Marks 'Off', turn them on Series(1).Marks.Visible = False ' Bar Series default is Marks 'On', turn them off Series(2).FillSampleValues 10 ' Put random values in the Line Series Series(1).FillSampleValues 10 ' Put random values in the Bar Series Series(0).FillSampleValues 10 ' Put random values in the Area Series To work with the Series may look something like the below:
![typing tutorial 6 typing tutorial 6](https://typingsoft.com/tutors/rapid_typing.jpg)
All access a common index structure, the Chart's Series list. Shows how TeeChart Pro's Series' interfaces can be accessed.Īn example of mixing different series classes in the same Chart would be to add a Area (Series(0)), Bar (Series(1)) and Line (Series(2)) Series to a Chart using the Chart Editor at design time. Common properties and methods are directly accessible in the Series interface. Thus presenting a homogenous approach to accessing any Series Type specific properties and methods. The Activex Type Library presents the classes, as interfaces, in a linear form. TeeChart Pro's internal Series Class hierarchy
#Typing tutorial 6 code#
TeeChart Series, derived in this way, allow programmable access via a common index structure (see example code later in this section). All derived Series (in red) are accessible in the TeeChart gallery for inclusion in your Chart. Several other generic Classes derive from Series (CustomSeries, CustomBarSeries and CircledSeries), these are highlighted in green and their interfaces are not directly accessible for programming, their characteristics are inherited by their descendant Series types. All classes derive from the generic "Series" class and thus share "Series" properties and methods. The diagram below shows the relationship between TeeChart Series classes. Series Class structureĪs a little background on the structure of the TeeChart Type Library, here is an explanation of the Series Classes and interfaces. When using the TeeChart online help or referencing the html help pages via the tutorials, to obtain help on any Series Type, take a look at Series properties and methods on the Series Type's help page where a list of all inherited properties and methods will be included. The TChart Series class is the common ancestor for all Series types. OnMouseEnterSeries and OnMouseLeaveSeries