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

4 posts, 0 answers
  1. Naureen
    Naureen avatar
    17 posts
    Member since:
    Oct 2016

    Posted 27 Jul Link to this post

    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

  2. Katia
    Admin
    Katia avatar
    567 posts

    Posted 28 Jul Link to this post

    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
  3. Naureen
    Naureen avatar
    17 posts
    Member since:
    Oct 2016

    Posted 10 Aug in reply to Katia Link to this post

    Hi Katia, 

     

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

    Thanks

     

  4. Katia
    Admin
    Katia avatar
    567 posts

    Posted 15 Aug Link to this post

    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
Back to Top