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,
};


Subscribe to receive free email updates:

0 Response to "Display Donut Chart on Android WebView, using Google Charts"

Post a Comment