setting bar height in horizontal chart

1 Answer 138 Views
Charts
samir
Top achievements
Rank 1
samir asked on 05 Mar 2023, 02:27 PM
i have a horizontal bar chart using kendo react chart. can someone help me on setting fix barHeight chartseriesitem ?

1 Answer, 1 is accepted

Sort by
0
Vessy
Telerik team
answered on 08 Mar 2023, 08:28 AM

Hello, Samir,

You can control the size of the bars in a horizontal chart by setting their `gap` and `spacing` values:

    <ChartSeries>
      <ChartSeriesItem type="bar" gap={0.5} spacing={1} data={firstSeries} />
    </ChartSeries>

 

Regards,
Vessy
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
Charts
Asked by
samir
Top achievements
Rank 1
Answers by
Vessy
Telerik team
Share this question
or