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

Chart on Android Browser

1 Answer 91 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Sergio
Top achievements
Rank 1
Sergio asked on 28 Oct 2011, 09:56 PM
Greetings 

I really believe that Kendo UI's chart is one of the most elegant I have seen client-side wise. Keep up the good work!

Sadly, The series do not display in the android browser. Some display successfully - the series item labels and the axis, however, this is not the case for actual series lines, bars etc.

In the bar one specifically, It must had something to do with the <path> tag inside the <g> tag that is generated client side. It seems that the path tag can't be rendered or interpreted by the android browser.

I attempted by injecting a div tag inside the path tag with a background color set to red, but this did not rendered properly.

Could you provide any work around suggestions?
Let me know and Thank you

Sergio

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 31 Oct 2011, 09:03 AM
Hi Sergio,

The default browser on Android, prior to version 3.0, does not support SVG. We have the option to use a Canvas element to render the Chart, but that way we lose all of the interactivity - mouseover and click events, in particular. This makes official support for Canvas a no-go, but we'll try to at least provide a Knowledge Base article demonstrating it.

Here is the bug report on Android's bug tracker. This is the explanation given by the Android team:
"We have chosen intentionally to not support SVG in the browser to save space; full SVG adds over 1M to the 
webkit image size.
"

It's an odd reason not to include such useful technology, but go figure.

Greetings,
Tsvetomir Tsonev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Charts
Asked by
Sergio
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or