[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [php-weathermap] [0.96test1]Aggregate functions won't support - for a DS



Howard Jones wrote:

> OVERLIBGRAPH and INFOURL both allow {} variables, so you can --define
> urlextra "?monthly" and then add {map:urlextra} to your urls, for
> example. Hopefully you have a naming standard for your graphs that
> allows it to this simple :-) Be aware that you will need to define
> urlextra as "" in the non-aggregated graph as well, to avoid getting an
> [UNKNOWN] in your URL. I haven't tested, but I believe you can also use
> a SET in the map config itself for the default, and then override that
> on the command-line - the command-line defines are set after the config
> file has been read.

Yep, got it working using a SET in the config and a --define on the CLI for the montly reports

> 
>> Another problem i ran into with the overlibs is that the graphs (3 targets on 1 node) gets drawn off the bottom of the screen which results in a
>> scrollbar, but if you scroll down the overlib graphs vanishes and so does the scrollbar.
>>   
> This one was solved a couple of years ago by Neils Baggeson - if you set
> OVERLIBWIDTH and OVERLIBHEIGHT correctly for your graphs, weathermap
> will figure out when the graph would go offscreen, and position it to
> the left, or above, the pointer as appropriate. Make sure the sizes are
> at least as big as the actual image, or you will get some strange
> flickering issues.

Allmost works, if i set the overlib to the total height of my 3 graphs, the bottom nodes work, the topnodes work but the nodes in the center of the
screen still draw to the bottom, reaching over the bottom of the screen.



Erik Versaevel

Copyright 1994-2005, by Howard Jones. howie@thingy.com