Stack bar chart legend color issue

3 posts, 0 answers
  1. Amol
    Amol avatar
    1 posts
    Member since:
    Nov 2012

    Posted 01 Nov 2012 Link to this post

    Hi,

    I am looking for a way to assign color to a legend field. Please take a look at http://jsfiddle.net/ashriva/Cke4n/3/
    In the above example I am trying to assign green color to the "Short" legend element to match its value field; similarly "Long" should be blue and "Flat" red. 

    Any help is greatly appreciated. 

    Thanks!
  2. Oleg
    Oleg avatar
    2 posts
    Member since:
    Mar 2013

    Posted 01 Jul 2013 Link to this post

    The same issue here  - we try to use custom colors for different columns,
    however the legend displays default colors only.
    In the demo -  http://demos.kendoui.com/dataviz/bar-charts/local-data.html  Telerik  gets  "smart"  and just hides the legend.
    Is there a way to either hide default (wrong) colors in legend or assign them manually?
    Thanks.
  3. Iliana Nikolova
    Admin
    Iliana Nikolova avatar
    2622 posts

    Posted 02 Jul 2013 Link to this post

    Hello guys,

    Please check the following forum threads which discuss the same topics and contain possible solutions: 

    Regards,
    Iliana Nikolova
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top