|
CHistogramChart
Class for plotting histograms.
Description
All methods for working with the plotting of histograms are implemented in this class. They can be used to set the column width and for configuring the work with data series. The methods for working with gradient filling of histogram columns are included, which allow to visualize the data more clearly.
The code of the above figure is provided below.
Declaration
class CHistogramChart : public CChartCanvas |
Title
#include <Canvas\Charts\HistogramChart.mqh> |
Inheritance hierarchy CHistogramChart |
Class methods
Method |
Action |
---|---|
Sets the flag indicating whether the gradient fill of the histogram columns will be applied. |
|
Set the value of the histogram offset from the origin. |
|
Sets the minimum width of the histogram columns. |
|
Sets the flag indicating the need to draw the border for each column. |
|
Virtual method that creates a graphical resource. |
|
Adds a new data series. |
|
Inserts data series to the chart. |
|
Updates data series on the chart. |
|
Deletes data series from the chart. |
|
Updates the element value in the specified series. |
|
Virtual method that plots a histogram for the specified series. |
|
Draws a histogram column as a filled rectangle. |
|
Creates a brush for the gradient fill. |
//+------------------------------------------------------------------+ |