문제

I am using BIRT with Eclipse to create a report that has a Gantt chart displaying employee tasks.

My data source has the following structure:

  1. TaskName (String)
  2. TaskStart (DateTime)
  3. TaskEnd. (DateTime)

I want to add some parameters (something like year/month/week/day) so that the time interval (the horizontal axis) changes and displays a more "zoomed-in" or "zoomed-out" view. I suppose i should make 4 DataSet parameters and 4 Report parameters and somehow link them.

Any advice would be very appreciated.

도움이 되었습니까?

해결책

Open the BIRT Help menu and search for "Parameter"

You should find "How to create a basic report parameter" which will help you create report parameters. The report will zoom in or out to the data set described by the paramters

SELECT *

FROM source

WHERE date >= ?
AND date <= ?
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top