This article explains how to create a volume-open-high-low-close chart in Excel using XlsIO.
What is a volume-open-high-low-close chart?
A volume-open-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-open-high-low-close chart created using XlsIO
To create a volume-open-high-low-close chart in Excel using XlsIO, you need to do the following steps.
Steps to create volume-open-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_VolumeOpenHighLowClose enum value.
Note: For creating a stock volume-open-high-low-close chart, the series count must be 5. 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-open-high-low-close chart
Below is the list of other common properties applicable to modify volume series (chart.Series) in volume-open-high-low-close-chart.
Properties used to modify the markers in the volume-open-high-low-close chart
Below is the list of properties that are used to change the markers in volume-open-high-low-close chart.
1. Marker properties are applicable only for open (chart.Series), high (chart.Series), low (chart.Series) and close (chart.Series) series.
The following C#/ VB.NET complete code snippet shows the creation of volume-open-high-low-close chart using XlsIO.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|
or the page will be automatically redirected to sign-in page in 10 seconds.