Skip to content

Commit 7aad9b7

Browse files
YoanKarKB Bot
andauthored
New kb generating stacked line graphs configuring axes excel floatingchartshape 72f99428bb824c4c86ce6571e731eb97 (#634)
* Added new kb article generating-stacked-line-graphs-configuring-axes-excel-floatingchartshape * Polishing KB. * Resloved comments. * Fixed slugs and formatting. --------- Co-authored-by: KB Bot <[email protected]>
1 parent bb2fdc1 commit 7aad9b7

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

knowledge-base/generating-stacked-line-charts-configuring-axes-excel-floatingchartshape.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ticketid: 1695510
1818

1919
## Description
2020

21-
This article demonstrates how to generate stacked line charts in worksheets using the SpreadProcessing library. It also covers how to specify the data sources for the X-axis (dates) and Y-axis (numerical values). Additionally, it explains how to configure chart properties such as marker types, line styles, and visibility to customize the chart's appearance.
21+
This article demonstrates how to generate stacked line charts in worksheets using the [SpreadProcessing]({%slug radspreadprocessing-overview%}) library. It also covers how to specify the data sources for the X-axis (dates) and Y-axis (numerical values). Additionally, it explains how to configure chart properties such as marker types, line styles, and visibility to customize the chart's appearance.
2222

2323
Key topics addressed in this guide include:
2424
- Creating line and stacked line charts in Excel using Telerik Document Processing.
@@ -32,11 +32,11 @@ Key topics addressed in this guide include:
3232

3333
To create a stacked line chart and configure the axes as desired, follow these steps:
3434

35-
1. Define the `LineSeriesGroup` and set its grouping to `Stacked`. This ensures the chart is created as a stacked line chart.
36-
2. Create individual `[LineSeries]({%slug radspreadprocessing-features-charts-series%}#lineseries)` for each data column. Set the `Values` to represent numerical data and `Categories` to represent dates.
37-
3. Define the axes for the chart. Set the `CategoryAxis` to plot dates and the `ValueAxis` for numerical values.
38-
4. Create the chart and associate the `LineSeriesGroup` and axes with it.
39-
5. Replace the default chart in the `[FloatingChartShape]({%slug radspreadprocessing-features-charts-using-charts%}#floatingchartshape)` with the configured document chart`. Set the dimensions and add it to the worksheet.
35+
1. Define the **LineSeriesGroup** and set its grouping to **Stacked**. This ensures the chart is created as a stacked line chart.
36+
2. Create individual [LineSeries]({%slug radspreadprocessing-features-charts-series%}#lineseries) for each data column. Set the **Values** to represent numerical data and **Categories** to represent dates.
37+
3. Define the axes for the chart. Set the **CategoryAxis** to plot dates and the **ValueAxis** for numerical values.
38+
4. Create the chart and associate the **LineSeriesGroup** and axes with it.
39+
5. Replace the default chart in the [FloatingChartShape]({%slug radspreadprocessing-features-charts-using-charts%}#floatingchartshape) with the configured document chart. Set the dimensions and add it to the worksheet.
4040

4141
```csharp
4242
var fileBytes = File.ReadAllBytes("fileWithChartData.xlsx");

0 commit comments

Comments
 (0)