Go Back   Forum - BIRT Exchange > Designing BIRT Reports Forums > Designing BIRT Reports
FAQ Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-02-2008, 06:15 PM
Junior Member
 
Join Date: Sep 2008
Posts: 4
Send a message via MSN to jullrun
Default how to draw dynamic marker

On item onRender script. We can have beforeDrawDataPoint(), beforeDrawMarker() function.
When I change the marker type or color, I would like to depends on others column.
Which means same record on same dataset, but different column.
Is there any method I can get others column value on the same record?
Reply With Quote
  #2 (permalink)  
Old 12-02-2008, 06:32 PM
Senior Member
 
Join Date: Jul 2007
Posts: 365
Send a message via Yahoo to vdodson
Default

Hi jullrun,

It is a bit tricky to get other column values while in a chart script...however you can do this by adding references inside the Chart Interactivity to the columns you want to use. In the enclosed example, press the Chart Interactivity button on the Value Series of the chart. I have added a reference to row["Minimum"] in the onKeyPress Event. By doing this, I can reference this value in script like dph.getUserValue("row[\"Minimum\"]");
Attached Files
File Type: zip chart_markers.zip (6.2 KB, 3 views)
__________________
~Virgil
Reply With Quote
  #3 (permalink)  
Old 12-02-2008, 08:51 PM
Junior Member
 
Join Date: Sep 2008
Posts: 4
Send a message via MSN to jullrun
Default

Quote:
Originally Posted by vdodson View Post
Hi jullrun,

It is a bit tricky to get other column values while in a chart script...however you can do this by adding references inside the Chart Interactivity to the columns you want to use. In the enclosed example, press the Chart Interactivity button on the Value Series of the chart. I have added a reference to row["Minimum"] in the onKeyPress Event. By doing this, I can reference this value in script like dph.getUserValue("row[\"Minimum\"]");
Thanks for your reply!

Last edited by jullrun : 12-02-2008 at 10:12 PM.
Reply With Quote
Reply


Thread Tools
Display Modes




All times are GMT -7. The time now is 06:33 PM.


Content Relevant URLs by vBSEO 3.1.0