Display Donut Chart on Android WebView, using Google Charts


My former post show how to display Google Charts on Android WebView, with Capture image. To display Donut Chart (Pie Chart with pie hole), simple modify the HTML file of pie chart (/assets/pie_chart.html) to add options of pieHole.

Example:

// Set chart options
var options = {
title:'Android-er: Google Charts example of Pie/Donut chart',
pieHole: 0.4,
};


Display Donut Chart on Android WebView, using Google Charts Display Donut Chart on Android WebView, using Google Charts Reviewed by Anonymous on 08:13 Rating: 5

No comments: