This is a migrated thread and some comments may be shown as answers.

Issue with label of bar series

1 Answer 103 Views
ChartView
This is a migrated thread and some comments may be shown as answers.
Frederic
Top achievements
Rank 1
Frederic asked on 07 Aug 2019, 03:54 PM

From the picture below you can see that the percent sign is cropped. but it isn't on the rest

ClipToPlotArea="False"

Also how to achieve the chart in the second image. (The age pyramide with the age in the middle)

Thanks

1 Answer, 1 is accepted

Sort by
0
Dinko | Tech Support Engineer
Telerik team
answered on 12 Aug 2019, 10:27 AM
Hello Frederic,

Thank you for the attached images.

For the clipped labels. Looking at the image, it seems that the percent symbol is exceeding the chart width, and that is why it is clipped. The ClipToPlotArea property will not work because the labels are going outside the chart's boundaries. To resolve this, try setting a little Мargin to the chart control. Or extend the Maximum a bit.

For the chart in the second image. The RadChartView does not provide such series out of the box. What you can consider using is RangeBarSeries series (one for the green and one for the red bars). With the RangeBarSeries you can define two LabelDefinitions for the left and right labels of the bars. Another solution which you could try is using RadDataBar control. You can take a look at its Getting Started, and Properties help articles so you can get familiar with the control.

Regards,
Dinko
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
ChartView
Asked by
Frederic
Top achievements
Rank 1
Answers by
Dinko | Tech Support Engineer
Telerik team
Share this question
or