Hi Daniel,

thanks, you are right. I tried the conversion once but switched it back 
later and then forgot about it.
It is a bit better now.

I am now using:
chart_bars.draw(data_bars, google.charts.Bar.convertOptions(options_bars));

e.g.
            hAxis: {
                gridlines: {
                color:'red',
                count:10
                }
             }

gives me some red lines now.
What I am missing here is some kind of feedback (error message) when using 
wrong options.
In the example above, I cannot use the count option, at least it does not 
make a difference, if I put down 
count:1 or count:5, all (vertical) gridlines are red, except for the x=0 
value, where it stays grey.

Is there any kind of debug option there?

Also I would like to get a frame around the chart and maybe some space 
between the frame and the chart itself.
I thought to get this with options, but they do not change anything.

            chartArea: {
                left:20,
                top:20,
                width:'50%',
                height:'75%'
            }

Here I try to get a frame, stroke seems to be ignored. Fill is working.

            backgroundColor: {
                    stroke:'black',
                    strokeWidth:4,
                    fill:'white'
            },

Here is the complete variable for the options:

        var options_bars = {
            width:900,
            height:525,
            bars:'vertical',
            legend: {
                position: 'none'
            },
            chart: {
                title: 'Ölverbrauch',
                subtitle: ' Stundengenaue Verteilung des Ölverbrauchs'
            },
            hAxis: {
                gridlines: {
                color:'red',
                count:2
                }
            },
            backgroundColor: {
                    stroke:'black',
                    strokeWidth:4,
                    fill:'white'
            },
            chartArea: {
                left:20,
                top:20,
                width:'50%',
                height:'75%'
            }
        };

Thanks for the wonderful work, I appreciate the APIs provided for free. 
Otherwise it would be impossible for me, to get this kind of quality on my 
personal homepage.

Regards,
Marc
>
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Reply via email to