problem with bar-graphs (color)

Discussion of the Meteohub software package

Moderator: Mattk

Post Reply
schroedi
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Sat Dec 05, 2009 5:20 pm
Location: Germany

problem with bar-graphs (color)

Post 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!
skyewright
Platinum Boarder
Platinum Boarder
Posts: 873
Joined: Fri Jan 25, 2008 6:27 pm
Location: Isle of Skye, Scotland

Re:problem with bar-graphs (color)

Post 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...
schroedi
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Sat Dec 05, 2009 5:20 pm
Location: Germany

Re:problem with bar-graphs (color)

Post by schroedi »

Thanks for fast replay!
Will try it!
User avatar
HeinrichH
Gold Boarder
Gold Boarder
Posts: 187
Joined: Sun Jan 04, 2009 6:27 pm
Location: Emmen-Netherlands / Panoias-Portugal
Contact:

Re:problem with bar-graphs (color)

Post 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
Checking the remote....
schroedi
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: Sat Dec 05, 2009 5:20 pm
Location: Germany

Re:problem with bar-graphs (color)

Post 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...
User avatar
HeinrichH
Gold Boarder
Gold Boarder
Posts: 187
Joined: Sun Jan 04, 2009 6:27 pm
Location: Emmen-Netherlands / Panoias-Portugal
Contact:

Re:problem with bar-graphs (color)

Post 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.
Checking the remote....
Post Reply