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

Data Point Label value is not displayed outside

3 Answers 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sijeesh
Top achievements
Rank 1
Veteran
Sijeesh asked on 09 Jun 2020, 09:33 PM

Hello Telerik,

I have created a Bar chart Report, wherein the Data point Label value is set Outside the column. It is fine for some bars, but the the bar which is the maximum, the value is displayed inside the the column.

Please find the attachment for the same. Request you to help me in resolving this.

 

3 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 12 Jun 2020, 08:15 AM

Hello Sijeesh,

I would suggest using a bigger value for the maximum value of the axis. This can be done by clicking on the axis -> Scale -> Maximum.

Please, test this approach and let me know if everything works as expected.

Regards,
Neli
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Sijeesh
Top achievements
Rank 1
Veteran
answered on 10 Jul 2020, 10:17 AM

Hello Neli,

I can set the maximum value. But that is not the correct way. Since the values may differ based on the scenarios. so setting a maximum value on the Y-axis scale is not feasible.

Ex: if i set a max value as 100000 and the available value is more than that, then this wont help us.

similarly if i set a max value as 100000 and the available value is just 100 or 200, then the bar chart will show empty space with very minute bars.

 

Regards,

Sijeesh B

0
Katia
Telerik team
answered on 15 Jul 2020, 05:56 AM

Hi Sijeesh,

Maximum value of the scale can also be resolved at run-time, based on the data for the chart. For this, you need to set the value of Scale.Maximum property to the appropriate expression via CoordinateSystem.Bindings. Here is an example of an expression that returns the maximum value for the scale:

= Max(FIelds.Column1) + 1

More detailed information about this approach can also be found in How to Use Bindings to Control the Coordinate System Properties help article.

 

Regards,
Katia
Progress Telerik

Tags
General Discussions
Asked by
Sijeesh
Top achievements
Rank 1
Veteran
Answers by
Neli
Telerik team
Sijeesh
Top achievements
Rank 1
Veteran
Katia
Telerik team
Share this question
or