Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » BIRT Chart interactivity - drilldown from x-axis label(BIRT Chart interactivity - drilldown from x-axis label)
BIRT Chart interactivity - drilldown from x-axis label [message #690660] Wed, 29 June 2011 23:14 Go to next message
John  is currently offline John Friend
Messages: 8
Registered: July 2009
Junior Member
Wondering if it is possible to grab the x-axis label value of a bar graph to drilldown to another chart or a better way to do this. I have a chart that returns the count of either "yes" or "no" items via count of a unique identifier and they are grouped DateTime by years on the x-series, and yes/no on y. The query is pretty complex and takes a lot of variables so I am passing all the report parameters to the drilldown and running the query again so need to pass the x-axis label value year as well as an additional value. This is to display "yes" or "no" items in a monthly view.

Chart 1
|5 yes, 4 no| |1 yes, 7 no| .... etc
2009____________2010

Click "2009" on chart

DrillDown for 2009
|1y,0n| |3y,1n| ...
Jan______Feb ...

Any help would be appreciated. Thanks!
Re: BIRT Chart interactivity - drilldown from x-axis label [message #691076 is a reply to message #690660] Thu, 30 June 2011 16:30 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

axisLabel should be the keyword you can use, but there appears to be a
bug using this in a drill down. You could write your own drill down
using a text element and script tag. The invokeScript event appears to
have access to the keyword. Take a look at these post for more on chart
interactivity.

http://birtworld.blogspot.com/2009/12/calling-client-side-javascript-from.html
http://birtworld.blogspot.com/2010/05/more-on-chart-interactivity.html

Jason

On 6/29/2011 7:14 PM, John wrote:
> Wondering if it is possible to grab the x-axis label value of a bar
> graph to drilldown to another chart or a better way to do this. I have a
> chart that returns the count of either "yes" or "no" items via count of
> a unique identifier and they are grouped DateTime by years on the
> x-series, and yes/no on y. The query is pretty complex and takes a lot
> of variables so I am passing all the report parameters to the drilldown
> and running the query again so need to pass the x-axis label value year
> as well as an additional value. This is to display "yes" or "no" items
> in a monthly view.
> Chart 1
> |5 yes, 4 no| |1 yes, 7 no| .... etc
> 2009____________2010
>
> Click "2009" on chart
>
> DrillDown for 2009
> |1y,0n| |3y,1n| ...
> Jan______Feb ...
> Any help would be appreciated. Thanks!
Previous Topic:How To Access Existing DataSet from Java?
Next Topic:How to make the where clause optional on dataset SQL query??
Goto Forum:
  


Current Time: Thu Apr 25 19:17:46 GMT 2024

Powered by FUDForum. Page generated in 0.02597 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top