|
CChartCanvas
Base class for implementing classes, which are used for drawing charts and their elements.
Description
This class includes methods for working with the basic elements of any chart: coordinate axes and their marks, chart legend, grid, background, etc. Here you can customize the options for displaying elements: visibility, text color, etc.
Declaration
class CChartCanvas : public CCanvas |
Title
#include <Canvas\Charts\ChartCanvas.mqh> |
Inheritance hierarchy CChartCanvas Direct descendants |
Class methods
Method |
Action |
---|---|
Returns and sets the background color. |
|
Returns and sets the border color. |
|
Returns and sets the text color. |
|
Returns and sets the grid color. |
|
Returns and sets the maximum amount of data (series) allowed. |
|
Returns and sets the maximum length of the descriptors. |
|
Returns and sets the visibility flag of the chart elements. |
|
Returns and sets the visibility flag of the legend on the chart. |
|
Returns the visibility flag of the scale of values on the left. |
|
Returns the visibility flag of the scale of values on the right. |
|
Returns the visibility flag of the scale of values at the top. |
|
Returns the visibility flag of the scale of values at the bottom. |
|
Returns the visibility flag of the grid on the chart. |
|
Returns the visibility flag of the descriptors on the chart. |
|
Returns the visibility flag of the percentages on the chart. |
|
Returns and sets the minimum on the vertical scale of values. |
|
Returns and sets the maximum on the vertical scale of values. |
|
Returns and sets the number of vertical scale divisions when plotting the chart grid. |
|
Returns and sets the data offset value. |
|
Returns the total number of data series on the chart. |
|
Virtual method for drawing descriptors. |
|
Virtual method for drawing data series at the specified index. |
|
Virtual method that creates a graphical resource. |
|
Sets the set of allowed visibility flags for chart elements. |
|
Sets the visibility flag for the legend. |
|
Sets the visibility flag for the left scale. |
|
Sets the visibility flag for the right scale. |
|
Sets the visibility flag for the top scale. |
|
Sets the visibility flag for the bottom scale. |
|
Sets the visibility flag for the grid. |
|
Sets the visibility flag for the descriptors. |
|
Sets the visibility flag for the values. |
|
Sets the visibility flag for the percentages. |
|
Sets the text alignment for the legend. |
|
Sets the value accumulation flag for the series. |
|
Sets the parameters for the vertical scale of values. |
|
Updates the value of the series descriptor (at the specified position). |
|
Updates the series colors (at the specified position). |
|
Performs internal calculations for plotting the chart. |
|
Redraw the chart. |
|
Draws the background. |
|
Redraws the legend. |
|
Draws a vertical legend. |
|
Draws a horizontal legend. |
|
Calculates the coordinates of the scale. |
|
Redraws all scales of values. |
|
Redraws the left scale of values. |
|
Redraws the right scale of values. |
|
Redraws the top scale of values |
|
Redraws the bottom value scale. |
|
Redraw the chart. |
|
Redraw the chart. |
Methods inherited from class CCanvas CreateBitmap, CreateBitmap, CreateBitmapLabel, CreateBitmapLabel, Attach, Attach, Destroy, ChartObjectName, ResourceName, Width, Height, Update, Resize, Erase, PixelGet, PixelSet, LineVertical, LineHorizontal, Line, Polyline, Polygon, Rectangle, Triangle, Circle, Ellipse, Arc, Arc, Arc, Pie, Pie, FillRectangle, FillTriangle, FillPolygon, FillCircle, FillEllipse, Fill, Fill, PixelSetAA, LineAA, PolylineAA, PolygonAA, TriangleAA, CircleAA, EllipseAA, LineWu, PolylineWu, PolygonWu, TriangleWu, CircleWu, EllipseWu, LineThickVertical, LineThickHorizontal, LineThick, PolylineThick, PolygonThick, PolylineSmooth, PolygonSmooth, FontSet, FontNameSet, FontSizeSet, FontFlagsSet, FontAngleSet, FontGet, FontNameGet, FontSizeGet, FontFlagsGet, FontAngleGet, TextOut, TextWidth, TextHeight, TextSize, GetDefaultColor, TransparentLevelSet, LoadFromFile, LineStyleGet, LineStyleSet |