Update add-space-between-bars-telerik-reporting.md

This commit is contained in:
Todor Arabadzhiev 2024-07-23 17:11:14 +03:00 коммит произвёл GitHub
Родитель e7ece0a427
Коммит f4c825359e
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 9 добавлений и 8 удалений

Просмотреть файл

@ -11,11 +11,11 @@ ticketid: 1654483
## Environment
| Version | Product | Author |
| Product | Author |
| --- | --- | ---- |
| --- | ---- |
| 18.1.24.514| Telerik Report Designer |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)|
| Telerik Report Designer |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)|
## Description
@ -26,13 +26,14 @@ When creating bar charts in Telerik Reporting, you might need to add space betwe
To introduce space between bars in the same category, follow these steps:
1. Set the `LineColor` of the `BarSeries` `DataPointStyle` to `Transparent`. This action will make the borders of the bars invisible.
1. Add a positive value to the `LineWidth` property. This step effectively increases the size of the bar's border, creating the illusion of space between the bars.
2. Add a positive value to the `LineWidth` property. This step effectively increases the size of the bar's border, creating the illusion of space between the bars.
Here is also how you may do this with C# code:
```csharp
````CSharp
DataPointStyle.LineColor = Transparent;
DataPointStyle.LineWidth = 2; // Adjust the value as needed
```
````
**Note:** Applying this workaround will also affect the top and bottom parts of the bars, making them appear slightly thinner.
@ -44,5 +45,5 @@ This workaround manipulates the visual appearance of the bars to create the illu
## See Also
- [Telerik Reporting Documentation]({%slug telerikreporting/welcome-to-telerik-reporting!%})
- [BarSeries Properties]({%slug https://docs.telerik.com/reporting/report-items/graph/chart-types/bar%})
* [Telerik Reporting Documentation]({%slug telerikreporting/welcome-to-telerik-reporting!%})
* [BarSeries Properties]({%slug telerikreporting/designing-reports/report-structure/graph/chart-types/bar-charts/overview%})