Hi everyone!
Are there any new limitations in the WebHTMLViewer control in 2.0 compared to web 1.0?
Previously, I used to reproduce Google Charts without problem and currently nothing appears.
For example (previously tested):
<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['bar']});
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
var data = google.visualization.arrayToDataTable([
['Mes', 'Empresas', 'Club Cámara'],['Ene', 13 , 3],
['Feb', 21 , 6],
['Mar', 35 , 12],
['Abr', 48 , 5],
['May', 18 , 14],
['Jun', 27 , 7],
['Jul', 23 , 12],
['Ago', 5 , 1],
['Sep', 0 , 0],
['Oct', 0 , 0],
['Nov', 0 , 0],
['Dic', 0 , 0],
]);
var options = {
chart: {
title: '',
subtitle: '',
legend: { position: "none" },
}
};
var chart = new google.charts.Bar(document.getElementById('columnchart_material'));
chart.draw(data, google.charts.Bar.convertOptions(options));
}
</script>
</head>
<body>
<div id="columnchart_material" style="width: 100%; height: 100%;"></div>
</body>
</html>
In web 1.0:
Thanks!