How can we control ChartSeriesLabelConnectorsSettings length

4 posts, 0 answers
  1. sri
    sri avatar
    22 posts
    Member since:
    Oct 2012

    Posted 14 Mar Link to this post

    Hi,

     

    How can we control smar labels connector length i.e ChartSeriesLabelConnectorsSettings  class does not give any control to connector length. I am looking for some logic so that we can control the connector length.

     

    Thankyou,

    ~Sri

  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 16 Mar Link to this post

    Hello,

    Have you tried using the MinLengthThreshold. It gets or sets the min length threshold. If a label connector is shorter than this threshold, the label connector is not drawn.

    Hope this helps.

    Regards,
    Peshito
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. DevCraft banner
  4. sri
    sri avatar
    22 posts
    Member since:
    Oct 2012

    Posted 16 Mar in reply to Peshito Link to this post

    MinLengthThreshold gets or sets min length. I want to control on max length.Connector is  kind of length 20. I want to make it 10 only.
  5. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 18 Mar Link to this post

    Hello,

    In that case you could try using the Margin property of the ChartSeriesLabelDefinition. If this is not suitable enough another approach would be to use your own labels' Strategy. Please see our Pie Smart Labels demo sample for more information.

    Regards,
    Peshito
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top