Page 1 of 1

problem with bar-graphs (color)

Posted: Thu Mar 04, 2010 3:44 pm
by schroedi
Hi!

I really like to use the graphs I can made by meteohub. In the graphs with "normal" lines I can change the color of them - but how I can change the color of the bars? For example: I made a graph which show a bar for every month with th days with rain. I choose actual year, monthly time, days with special weather as an histogramm ("Tage mit Wetterbesonderheiten als Histogramm") with type 'days with rain' and the rain sensor - and get bars in red. Green would be better for rain in my oppinion, but I can't change the color as in all other graphs of this type, then for temperature.
Is it passible to change them in a future programm-version or is there a tricky possibility to make this right now?
Thanks for help!

Re:problem with bar-graphs (color)

Posted: Thu Mar 04, 2010 4:39 pm
by skyewright
schroedi wrote:In the graphs with "normal" lines I can change the color of them - but how I can change the color of the bars?
Perhaps I have misunderstood, but I have plenty of bar-graphs and I just set the bar colours in the same way as I do for line graphs.

Do you maybe mean that you want the bars to be 'filled' with a colour?

set style fill solid 0.3

will cause bars to be "filled" with a colour that is 30% intensity of their line colour.

Does that help?

N.B. If you have multiple bars that may overlap using fills can cause smaller bars to be hidden if they happen to be earlier in the drawing sequence...

Re:problem with bar-graphs (color)

Posted: Thu Mar 04, 2010 4:56 pm
by schroedi
Thanks for fast replay!
Will try it!

Re:problem with bar-graphs (color)

Posted: Fri Mar 05, 2010 6:06 pm
by HeinrichH
I think what schroedi means is the problem with the predefined days, the extreme days or so. With those definitions you can't choose the color of the bar

Re:problem with bar-graphs (color)

Posted: Fri Mar 05, 2010 8:04 pm
by schroedi
Yes, thats exactly what I mean - and I have the problems with the one day missing in the bar-graphs, too! January 30day, not 31, february 27, not 28...

Re:problem with bar-graphs (color)

Posted: Mon Mar 08, 2010 9:51 pm
by HeinrichH
For the missing day see this http://www.meteohub.de/joomla/index.php ... mitstart=6 thread.
Boris is working on the problem.
The colors are also pre-defined and they should represent the temperatures as I understand the comment of Boris well in that thread.