This is a migrated thread and some comments may be shown as answers.

Line Series with RenderMode Light

7 Answers 92 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 11 Jan 2013, 03:46 PM
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.

7 Answers, 1 is accepted

Sort by
0
Rob
Top achievements
Rank 1
answered on 16 Jan 2013, 09:14 AM
Anybody ?? Really struggling to get this sorted
0
Petar Marchev
Telerik team
answered on 16 Jan 2013, 10:00 AM
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.

0
Meliton
Top achievements
Rank 1
answered on 28 Jan 2015, 06:36 PM
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?

0
Petar Marchev
Telerik team
answered on 29 Jan 2015, 09:49 AM
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.

 
0
Meliton
Top achievements
Rank 1
answered on 04 Mar 2015, 04:56 PM
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.
0
Petar Marchev
Telerik team
answered on 05 Mar 2015, 07:42 AM
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.

 
0
Meliton
Top achievements
Rank 1
answered on 05 Mar 2015, 04:36 PM
The DefaultVisualStyle property has solved my problem.
Thanks again.
Regards
Tags
Chart
Asked by
Rob
Top achievements
Rank 1
Answers by
Rob
Top achievements
Rank 1
Petar Marchev
Telerik team
Meliton
Top achievements
Rank 1
Meliton
Top achievements
Rank 1
Share this question
or