This article explains how to create a volume-high-low-close chart in Excel using XlsIO.
What is a volume-high-low-close chart?
A volume-high-low-close stock market chart is a type of bar chart or graph used primarily to show changes in the value of tradable assets such as stocks over a given period of time.
Volume-high-low-close chart created using XlsIO
To create a volume-high-low-close chart in Excel using XlsIO, you need to do the following steps.
Steps to create volume-high-low-close chart
Create a chart object by calling the worksheet.Charts.Add method.
Set a range of data from the worksheet to chart’s DataRange property and specify the chart type to ExcelChartType.Stock_VolumeHighLowClose enum value.
Note: For creating a stock volume-high-low-close chart, the series count must be 4. The data range should be set before selecting the chart type.
Add the basic elements like chart title, data labels and legend.
Applicable properties to modify volume series in volume-high-low-close chart
Below is the list of other common properties applicable to modify volume series (chart.Series) in volume-high-low-close-chart.
Properties used to modify the markers in the volume-high-low-close chart
Below is the list of properties that are used to change the markers in volume-high-low-close chart.
NOTE: Marker properties are applicable only for high (chart.Series), low (chart.Series) and close (chart.Series) series.
The following C#/ VB.NET complete code snippet shows the creation of volume-high-low-close chart using XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|