Q2 2012 SP2 or the latest internal build
|Visual Studio version
C# or VB.NET
all browsers supported by RadControls
control uses a combination of SVG and VML to display its content. SVG is a vector-based standard, broadly supported on all modern
browsers, especially suited for interactive 2D rendering, and VML is a
similar Microsoft technology that we use to support older versions of IE.
The default browser of Android 2.x is outdated and does not support SVG. Nevertheless, you can still visualize the chart control in this case by converting the SVG to a canvas element, which is supported by Android 2. This will result in loss of some of the additional features that the SVG provides, like animations and interaction, however the main functionality of the control - visualizing the provided data - will be available. The suggested approach can be implemented on the client-side via the following steps:
- A check if the current browser supports SVG is performed. If it does not then you should proceed with the next step.
- The client-side API of RadHtmlChart is used for retrieving its SVG markup.
- A new canvas is created.
- The original chart SVG is removed and the canvas rendering is inserted in its place.