Working with slabel
Posted: Thu Mar 20, 2014 7:36 am
Hi everybody,
can someone explain to me how to work with slabel.
In the wiki I found the following
I have the following chart
It's a bar chart with the rain bars.
But I can't find a label in the graph. I supposed to have a label with the rain value on top of each bar.
What is wrong or am I understanding sth wrong?
Does somebody have an example?
Thx in advance
regards
Michael
can someone explain to me how to work with slabel.
In the wiki I found the following
Code: Select all
Defines label to be displayed on top of each data item in the chart. Label can contain "value" for current data value or in min/max charts "low" and "high" for min resp. max values.
Code: Select all
timeframe=4M # set total time frame to 3 days before today until today
zoom=MAX # select actual day
res=day1 # get data per day
monlist=Jan,Feb,Mrz,Apr,Mai,Jun,Jul,Aug,Sep,Okt,Nov,Dez
daylist=Mon,Die,Mit,Don,Fre,Sam,Son
gtitle=Niederschlag # name of graph
gheight=450 # height in pixels of graph
gwidth=700 # width in pixels of graph
glunit=mm # unit of left y-axis
grunit=mm/h
gtype=bar # type of graph
gtrim=0
sid1=rain* scolor1=AADDFF slabel1=mm sfill1=50 sline1=100 sname1=Niederschlagsmenge ssel1=total # sensor 0, rainfall
sid0=rain* syaxis0=r stype0=line ssmooth0=1 sname0=Max._Niederschlagsrate sunit0=mm/h ssel0=ratemax sconnect0=1
But I can't find a label in the graph. I supposed to have a label with the rain value on top of each bar.
What is wrong or am I understanding sth wrong?
Does somebody have an example?
Thx in advance
regards
Michael