Page 1 of 1

ChartDirector or SQL question

Posted: Tue Aug 03, 2010 6:50 pm
by bako70
Inspired by Bwired, I am trying to develop a realtime website using chartdirector for my raingauge.
Currently I have this real-time graph of the daily rainfall.

Image

For the graph I'm using the following sql-code

Code: Select all

SELECT Rain.rainname, Day([raindate]) AS Dag, Rain.raindate, Count(Rain.Id) AS Changes, Max([rainstate]/100) AS High, Min([rainstate]/100) AS Low, Max([rainstate]/100)-Min([rainstate]/100) AS Today, Month([raindate]) AS Expr1
FROM Rain
GROUP BY Rain.rainname, Day([raindate]), Rain.raindate, Month([raindate])
HAVING (((Month([raindate]))=Month(Date())));
Question is how to make a graph where the all the days of the month will be showed. Do I need to adjust the query or is this a setting in Chartdirector?

example bwired:
Image