Line Series with RenderMode Light

8 posts, 0 answers
  1. Rob
    Rob avatar
    4 posts
    Member since:
    Oct 2012

    Posted 11 Jan 2013 Link to this post

    We have an issue with the new RenderMode property in LineSeries. When set to Light it is fantastic for performance of our charts but we lose the DashArray capability. Is there anyway to keep the dasharray effect ?
    Our scenario is we have a RadTileView which can contain several complex charts (which is why we want to RenderMode Light as the performance wasn't great without it). But would like to keep DashArray available as several charts have different lineseries that need to be differentiated. We would at least want this when a Tile (Chart) is maximised.

    Any thoughts ??

    Cheers ... Rob.
  2. Rob
    Rob avatar
    4 posts
    Member since:
    Oct 2012

    Posted 16 Jan 2013 Link to this post

    Anybody ?? Really struggling to get this sorted
  3. DevCraft banner
  4. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 16 Jan 2013 Link to this post

    Hello Rob,

    Unfortunately when using the Light mode it is not possible to get a dashed line. For the Light mode to be truly faster, some of the beautifications have to be sacrificed.

    However, you can consider changing the render mode from light to full when the tile gets maximized. Let us know if we can assist you further.

    Regards,
    Petar Marchev
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Meliton
    Meliton avatar
    1 posts
    Member since:
    Jul 2013

    Posted 28 Jan 2015 in reply to Petar Marchev Link to this post

    Hello guys.

    I´m using the Light RenderMode in a ScatterPointSeries and I´m traying to display the tooltip, but the functionality is not available in the render mode. Any way to display the tooltip in the light render mode?

  6. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 29 Jan 2015 Link to this post

    Hi Meliton,

    Currently the lighter render options have some limitations, one of which is the tooltip, it is not going to show. You can consider using the trackball behavior instead, it has the same notion as the tooltip - it will display information about data points close to the mouse cursor.

    If you must have a tooltip in your application - you can implement custom tooltip in code behind where you will need to find the data points underneath the mouse cursor and handle the visibility and position of the tooltip. I have attached a simple project to demonstrate both the trackball behavior and the custom tooltip. I hope this information helps.

    Regards,
    Petar Marchev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  7. Meliton
    Meliton avatar
    4 posts
    Member since:
    May 2012

    Posted 04 Mar 2015 in reply to Petar Marchev Link to this post

    Thank you Petar, your example have been useful for me.

    But the Color in the BitmapRenderOptions is Light Blue, Is possible change the color in this render mode?

    Thanks for your help.
  8. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 05 Mar 2015 Link to this post

    Hello Meliton,

    You can either use a chart palette (Palette property of the chart) or you can use the DefaultVisualStyle property of the series to set a style targeting a Path and add a setter for the Fill property. Keep in mind that the style is not actually applied to any Path element, because you are using bitmap rendering. However, Fill and Stroke related Setters should take affect.

    Regards,
    Petar Marchev
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  9. Meliton
    Meliton avatar
    4 posts
    Member since:
    May 2012

    Posted 05 Mar 2015 in reply to Petar Marchev Link to this post

    The DefaultVisualStyle property has solved my problem.
    Thanks again.
    Regards
Back to Top
DevCraft banner