Problem with values in "Y" axis.

49 views
Skip to first unread message

José Vicente Zahonero

unread,
Nov 9, 2022, 11:16:53 AM11/9/22
to Google Visualization API
Hello, good afternoon, I have made a graph of areas from a csv file and I have a problem with the values of the "Y" axis, it does not represent the real values, it gives me some random ones, although when I click on them in the graph they are the correct ones. How can this be?
My configuration for the chart is:
 var options =
    {    
    title: 'VALORES OBTENIDOS',
    selectionMode: 'multiple',
    colors: ['#4B0082', '#663399', '#9932CC', '#800080'],
    is3D: true,

     
    legend: {position: 'top',textStyle: {color: 'blue', fontSize: 16}},    
    isStacked: 'true',
   
    vAxis: {
        minValue: 0,
        gridlines: { count: 4 }
      },

    hAxis:
        {
        title: 'FECHAS',
        titleTextStyle: {color: '#333'},
        format: 'dd-MM-yyyy',
        textPosition:'out',
        slantedTextAngle:-90
        },
    gridlines:
        {
        count: -1,
        interval:5,
            units:
            {
              days: {format: ['dd-mm-yyyy']}
            }
    }
    };
Thank you for your help. Best regards.
Reply all
Reply to author
Forward
0 new messages