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,
};
No comments:
Post a Comment