I currently using the chart extension and happy how it works but I don't like the idea of zoom in and out.
Two things:
Someone on community suggested that I should look into Google Charts and add my info there but I have no idea where to start even. Can someone maybe help me out in right direction.
Easiest solution to my problem will be to have extension not zooming in and out.
I have information reading from a listview so my charts should have no limit please.
Here simple example html to build your own chart, including the meta to prevent zooming.
You can use the webviewstring to pass chart values to the html.
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Activity', 'Hours Spent'],
['Netflix',7],
['Eating',4],
['Sleeping',18] ]);
var options = {
title: 'Pie Chart',
};
var chart = new google.visualization.PieChart(document.getElementById('pie_chart'));
chart.draw(data, options);
}
</script>
</head>
<body>
<div id="pie_chart"></div>
</body>
</html>