Legend stroke width

4 posts, 0 answers
  1. Yana
    Yana avatar
    6 posts
    Member since:
    Sep 2014

    Posted 25 Jul Link to this post

    I increased font on the legend, but stick color marker didn't increase accordingly.

    Is there a way to access this through css or otherwise.

    Attached current and desired pics

    Thank you

     

  2. Vessy
    Admin
    Vessy avatar
    2067 posts

    Posted 30 Jul Link to this post

    Hi Yana,

    You can customize the markers in the legend by implementing a Legend Visual template where to define the desired markers shape as desired. You can use as a base the sample provided in the following article:

    https://docs.telerik.com/devtools/aspnet-ajax/controls/htmlchart/functionality/visual-template

     

    Regards, Vessy
    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.
  3. Yana
    Yana avatar
    6 posts
    Member since:
    Sep 2014

    Posted 30 Jul in reply to Vessy Link to this post

    Possibly bit more than i wanted to invest into the problem.

    Kinda hoped for simple css change

    Thank you though

  4. Vessy
    Admin
    Vessy avatar
    2067 posts

    Posted 02 Aug Link to this post

    Hi Yana,

    I am afraid that the chart elements are rendered via SVG objects and this is why they cannot be styled easily with CSS like the standard HTML elements.

    Regards, Vessy
    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.
Back to Top