Settings for Google Chart options

0

Good afternoon I have a problem. When I put a pie chart with google chart data, the yellow part of the slice makes it hard to see the value, because the font is white.

How can I make the font different or black in color?

function LoadChart_Indicador() {

let filtro = "?$filter(ID%20ne%20'')"
let dado = GetListItems('4606CE6B-214D-4626-BF1D-76828FDAD0E4', filtro);


google.charts.load("current", { packages: ["corechart"] });
google.charts.setOnLoadCallback(drawChart);
function drawChart() {
    let data = google.visualization.arrayToDataTable([
        ['Class', 'Total'],
        ['TOL/IMP', 11],
        ['SUB/R', 24],
        ['MOD/DDF', 22],
        ['TRI/ATN', 55],
        ['INT/AR', 62],
    ]);

    let options = {
        title: 'Indicador por Classificação',
        is3D: true,
        colors: ['blue', 'orange', '#EEEE00', 'green', 'red'],

    };

    let chart = new google.visualization.PieChart(document.getElementById('piechart_3d'));
    chart.draw(data, options);
}
    
asked by anonymous 18.12.2018 / 11:22

0 answers