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

Erro while setting maximum property of Y-axis through data binding

3 Answers 83 Views
Report Designer (standalone)
This is a migrated thread and some comments may be shown as answers.
Naureen
Top achievements
Rank 1
Naureen asked on 27 Jul 2017, 03:44 PM

Hi,

Can you please guide me why a i getting following error while binding y-axis maximum property. 

"An error occurred while invoking the setter property to 'Max size' of type "Telerik.Reporting.Drawing.Unit"

attached error for reference -

I am followig steps mentioned in following article:

http://docs.telerik.com/reporting/graphhowtousebindingstocontrolcsproperties

3 Answers, 1 is accepted

Sort by
0
Katia
Telerik team
answered on 28 Jul 2017, 01:10 PM
Hi Naureen,

This error cannot be reproduced on our side. Is it possible to attach a screen shot of the binding expression you use?


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Naureen
Top achievements
Rank 1
answered on 10 Aug 2017, 01:51 PM

Hi Katia, 

 

I have attached a binding expression here, can u please review and let me know what is creating the error

Thanks

 

0
Katia
Telerik team
answered on 15 Aug 2017, 09:50 AM
Hi Naureen,

To set the Maximum property of the YAxis scale with bindings you need to select XAxis.Scale.Maximum property in the Edit bindings dialog.

Setting YAxis.MaxSize can be done programmatically as you will need to use Telerik.Reporting.Drawing.Unit type to set the value of this property.


Regards,
Katia
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Report Designer (standalone)
Asked by
Naureen
Top achievements
Rank 1
Answers by
Katia
Telerik team
Naureen
Top achievements
Rank 1
Share this question
or