2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This article explains how to set shadow to plot area in chart using XlsIO.
What is Plot Area?
The plot area in a chart or graph refers to the area of the chart that graphically displays the data being charted. The plot area of a 2-D chart contains the data markers, gridlines, data labels, trendlines, and optional chart items placed in the chart area. Whereas the plot area of a 3-D chart contains all the above items along with walls, floor, axes, axis titles, and tick-mark labels in the chart.
Shadow for plot area set using XlsIO
Code snippet to set shadow to plot area in chart using XlsIO
Steps to add shadow to plot area in chart
Create a chart object by calling the worksheet.Charts.Add method and specify the chart type to ExcelChartType.Line enum value.
Set a range of data from the worksheet to chart’s DataRange property. To plot the series values in column and categories in row, set chart’s IsSeriesInRows property to false.
Add basic chart elements like chart title, legend and datalabels.
Set shadow to plot area in chart using properties in IShadow.
Applicable properties for a shadow of plot area in chart
Basic properties applicable for a shadow of plot area in a chart
1. Angle 2. Blur 3. Distance 5. ShadowColor 9. Size 10. Transperency
Note : We can set shadow to plot area in chart using CustomShadowStyles method as well.
The following C#/VB complete code snippet explains how to set shadow to plot area in chart using XlsIO.
C#
VB
|
2X faster development
The ultimate WinForms UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.