Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 2.26 KB

File metadata and controls

20 lines (14 loc) · 2.26 KB

Box chart

BoxChart - is the special type of chart for displaying the volumes in the form of a numbers grid. To use this chart type, it is necessary to set the special style ChartCandleElement.DrawStyle = ChartCandleDrawStyles.BoxVolume This chart uses the information from the Candle.PriceLevels property as source data.

Gui BoxChart

Main properties

  • ChartCandleElement.Timeframe2Multiplier - the multiplier factor that is applied to the main timeframe specified in the constructor to get a second timeframe. The displayed candles are joined together in groups of size corresponding to the second timeframe. The groups are drawn on the chart by the grid and frame of the respective colors.
  • ChartCandleElement.Timeframe3Multiplier - is similarly to ChartCandleElement.Timeframe2Multiplier, but for the third timeframe. The 3rd timeframe is drawn on the chart using the grid of the corresponding color.
  • ChartCandleElement.FontColor - the volumes values color on the chart.
  • ChartCandleElement.MaxVolumeColor - the volumes values color on the chart for the maximum volume in the specified candle.
  • ChartCandleElement.Timeframe2Color - the 2nd timeframe grid color.
  • ChartCandleElement.Timeframe2FrameColor - the 2nd timeframe frame color.
  • ChartCandleElement.Timeframe3Color - the 3rd timeframe grid color.

An example of using this type of chart is in Samples/Common/SampleChart.

Tip

To switch between the chart types, use the settings button (gear), located in the upper left corner of the chart.