VolumetricaCore.dll, namespace VolumetricaAPI.Chart. The interfaces are the same for Deepchart and for Deepdom. Members marked desktop are [DesktopOnly] in Deepchart, where an indicator can also be calculated on the server; in Deepdom every member is available.
IChartSeries
A series as the indicator sees it: its points. Style and colors are settings of the user, see Series.| Member | Meaning |
|---|---|
Name | name of the series |
Points | the points, one per bar |
NumOfYPerPoints | values of each point: 1, 2 for a range, 4 for candles |
seriesType | current style |
IncludeInResize, UseAxesWithSpace, IniPlotIndex | desktop |
IChartPoint
| Member | Meaning |
|---|---|
Y | values of the point |
IsHidden | not drawn |
BreakPoint | interrupts the line |
LineColor, BackColor | colors of this point |
Text, FontSize, ShowLabel, LabelSpan | label of the point. FontSize 0: the font size of the series, then the one of the chart. With AutoFontSize of the series (the default) that size is the maximum, reduced when the bars get narrower |
Tooltip | text shown when the mouse is over the text of the point (Text style) |
alignMarker | where a marker is placed relative to the value |
PointWidth, ShowOnlyBorder | look of a bar |
YMagnet | with a marker aligned above or below (alignMarker): the marker is attached to the value |
X | time of the bar of the point |
IAnnotation
Position| Member | Meaning |
|---|---|
AnnotationType | the shape |
X, Y, X2, Y2, X3, Y3 | coordinates. With absolute coordinates the bar i is at X = i + 1. On a text with TextOnlyInside, X2 and X3 are the space it must fit in |
CoordinateXType, CoordinateYType | Absolute, Relative, Pixel, Session |
Width, Height | size, for the shapes which have one |
XOffset | shift on X |
Area | chart area: ChartAreaRef.Main or the ChartArea of the indicator |
Visible | drawn or not |
PlotForeground | drawn over the bars. Used when its group has no PlotForeground of its own |
IsExtended | a line continues to the edge of the chart |
MaxBarsViewed | not drawn when more than this number of bars are visible |
| Member | Meaning |
|---|---|
LineColor, LineWidth, LineDashStyle | border or line. Width and style are a value or a parameter (LineWidthRef, LineStyleRef) |
BackColor, BackGradient | fill |
LineColor2, LineWidth2, LineDashStyle2, BackColor2, BackGradient2 | second line and fill, for the shapes which have two |
Margin, PixelMargin, MinPxForMargin | space outside the shape, in pixels |
PixelMarginXMult | multiplier of PixelMargin and MinPxForMargin on the left and right sides only (1, the default: the same margin on every side). Rectangles side by side stay visibly apart |
Padding, PixelPadding | space inside the shape, in pixels |
| Member | Meaning |
|---|---|
Text, ForeColor, FontSize, FontBold | the text |
TextAlign, LabelAlign | alignment |
Tooltip | text shown when the mouse is over the annotation |
ShowLabel, ShowLblBackground, ShowPrice | label and price of a level |
TextOnAxis, TextOnlyInside, needToShowAllText, CheckStringWidthInside | where the text may be drawn. TextOnlyInside on a Text, a MultiTextLine or a text of a MultiTextStack: only between X2 and X3 (a side at 0 has no limit); without them, a Text only in the width of a bar. See A text that must fit |
TextWidth, TextHeight | measured size of the text. desktop |
| Member | Meaning |
|---|---|
AddAnnParam(coeff, color, lineWidth, style), ClearAnnParam() | levels of a retracement or projection. Width and style are a value or a parameter |
Ann1ToPlot, Ann2ToPlot, AnnParamToPlot, ShowPercent, ShowDifference | what a multi part annotation shows |
AddToList(annotation), InsertToList(index, annotation), ClearList() | child annotations: the lines of a MultiTextLine, the labels of a MultiTextStack (see Labels that do not overlap) |
RemoveFromList(annotation) | removes one child, the others keep their order; false if it is not in the list. The child can be added again |
ListCount, this[index] | number of the child annotations, and the child of a position, in the order they were added. A child can be changed as any annotation |
IAnnGroup
| Member | Meaning |
|---|---|
AnnItems, AnnGroupList | the annotations, or the groups, it holds |
AddGroup(group) | adds a group inside this one |
RemoveAnnotation(annotation) | removes an annotation |
Clear() | removes everything |
Visible | drawn or not, with everything it contains. A value or a parameter (PlotBoolRef) |
Area | chart area the group is bound to |
PlotForeground | null (the default): every annotation follows its own PlotForeground. true or false: everything in the group is drawn over or under the bars. A value or a parameter (PlotBoolRef?) |
MaxBarsViewed | not drawn when more than this number of bars are visible |
MaxCountShown | -1 (the default): no limit. Otherwise only the last item and the MaxCountShown before it are drawn. A value or a parameter (PlotIntRef) |
Reverse | the items are drawn from the last to the first |
PlotOnlyIfSessionVisible | on the Profile chart: drawn only while its session is visible |
AnnPerBar, shiftIndex, OutBars | for groups with a fixed number of annotations per bar: lets the chart find the visible ones without scanning the group |
ISessionAnnGroup
The group of a session of the Profile chart, created byVAn.NewSessionAnnotationGroup. desktop. See The Profile chart.
| Member | Meaning |
|---|---|
AnnGroup | the annotations of the group: a group created with VAn.CreateAnnGroup() |
Width | width of the group, in units of the X of its annotations |
Visible | drawn or not. false for a new group, which takes no space while it is not visible |
Id | code of the group: Id | m is the X of the column m in the Session coordinates |
ReferenceExchDateTime | the exchange time given when the group was created: it orders the groups of a session |
IAxis
Only what an indicator sets is applied. See Axes and placement.| Member | Meaning |
|---|---|
YSame | symmetric around zero |
YAdjust, YAuto | the axis follows the visible values |
DecimalPlaceShown, FormatAutoNumber, CustomFormat | format of the labels |
MinimumLimitMode, MinimumLimitValue, MaximumLimitMode, MaximumLimitValue | limits |
ViewMinimum, ViewMaximum | range shown |
TopMarginPerc, BottomMarginPerc, SetAxisMargin(...) | margins |
ShowGrid, GridStyle, GridColor, ShowText, TextColor | look |
UseFixedDelta, FixedDeltaValue | fixed step between the labels |
UseNegativeValue, UseOnlyIntValues | kind of values |
Description | text of the axis |
ShowVisbility(visible) | shows or hides the axis |
Minimum, Maximum | range calculated by the chart. desktop |