Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi Expert,

Can someone point me out how to use "Accessible HTML"  in Document Browser ?

Can I use it to create own customized chart or reports ?

I did try to upload a simple HTML file which return an error when i try to run.

<html>
  <head>
    <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([
          ['Task', 'Hours per Day'],
          ['Work',     11],
          ['Eat',      2],
          ['Commute',  2],
          ['Watch TV', 2],
          ['Sleep',    7]
        ]);

        var options = {
          title: 'My Daily Activities'
        };

        var chart = new google.visualization.PieChart(document.getElementById('piechart'));

        chart.draw(data, options);
      }
    </script>
  </head>
  <body>
    <div id="piechart" style="width: 900px; height: 500px;"></div>
  </body>
</html>

Need some advices, thanks in advance .

in Document Browser by (1.1k points)

1 Answer

0 votes
Hi,

isn't possible to create custom reports or charts uploading custom HTML files.
The "Accessible HTML" is an engine used for accessibility that is currently deprecated (and this entry in the document type will be removed).
by (11.6k points)
...