Chart Pane
From Open Forex Platform Wiki
A Chart Pane is a UI control class, it inherits from CustomControl and takes over all drawing functionality; it also implements a double buffering to evade flicker on redrawing; its main purpose is to allow drawing of graphics series.
The components of the Pane are 2 types:
1. static (for ex. grid)
2. dynamic (chart series)
All dynamic user data is shown in dynamic chart series. The user can draw additional chart components using the Drawing Toolbar.
Multiple chart panes can be combined together in a Chart Control to form a complex charting control. Also the Chart Control adds additional tool bars to ease the usage of the charts.
- Chart Series Labels
Each dynamic chart series added to the chart has its own label at the top left corner of the chart (ex. EURUSD1440). A left click in the label will show or hide the series from the chart. Right click on the series label to show menu that controls the properties of this chart series.
- Panning
Pan the view of a chart pane by dragging with the left mouse button.
- Scrolling
Depending on the current "Scroll" setting the mouse wheel can be used for scrolling the view of the chart.
- Zooming
Zooming can be done by selecting an area by dragging the right mouse button, or also by using the mouse scroll, depending on the chart settings.
See Chart Control for more information regarding chart operations.
- Axis Labels
The parameters of the chart axis labels can be controlled programmatically trough ChartPane members (AxisLabelsFont, XAxisLabelsFontBrush, YAxisLabelsPosition etc.)

