Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Meter Chart / Scale
Sandro
Hi,
In the moment I have to do a meter chart.
Only one little thing don?t work like I want it to work.
My chart shows the average difference between to dates in days. This is because I will show the average time that is lapsed between two events.
So as Cetegory Definition I have ?new Date()?
and as Meter Value Definition I have ?BirtDateTime.diffDay(row["anfragen_eingang::date"], row["reaktionszeit::date"])?
I have defined regions and almost everything works fine.
I want the arrow of the meter chart to be somewhere in the middle. In the moment it is always on the edge of the chart. If I define a minimum and maximum value for the chart, it is in the middle, but when the value gets higer, the arrow goes over the edge and so is invisible.
I want that the chart normally goes from 0 to 7 but when the value gets bigger than 7 it should be show the bigger value automatically.
The ?auto expand? checkbox seems to have no effect on may chart
Can anyone help me with this problem?
Thanks a lot
Sandro
Find more posts tagged with
Comments
mwilliams
Hi Sandro,
Can you recreate your situation with the sample database? Also, what version of BIRT are you using?
Sandro
Here is an example with the sample database.
Normally I want the chart to go from 0 to 50. When the value the chart is shown (average time between two dates) is bigger than 50 the chart should expand and show this value to.
In the moment I can make the chart static so that only values between 0 and 50 are shown. Bigger values are out of the range and are not been shown.
Or the arrow is always on the right edge of the chart.
How can I do it, that the chart goes from 0 to 50 and only expands when the value is over 50?
Thanks a lot for your help
Greetings
mwilliams
Sandro,<br />
<br />
Take a look at this post from the devShare on how to dynamically change the scale:<br />
<br />
<a class='bbc_url' href='
http://www.birt-exchange.org/devshare/designing-birt-reports/377-change-meter-scale-with-script/#description'>Change
Meter Scale with Script - Designs & Code - BIRT Exchange</a>