Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » [Chart] showing Major grid by script
[Chart] showing Major grid by script [message #526648] Mon, 12 April 2010 13:53 Go to next message
Tristan Israel is currently offline Tristan IsraelFriend
Messages: 8
Registered: July 2009
Junior Member
Dear all,

I would like to show the major grid line on a script basis. I don't find the right event onr object I could act on.
Does anyone know ?

Regards
Re: [Chart] showing Major grid by script [message #526749 is a reply to message #526648] Mon, 12 April 2010 19:26 Go to previous message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

You can do it in the beforeGeneration of the chart like:

function beforeGeneration( chart, icsc )
{
var xAxis = chart.getAxes().get(0);
var yAxis = xAxis.getAssociatedAxes().get(0);
yAxis.getMajorGrid().getLineAttributes().setVisible(true)
}


Tristan Israel wrote:
> Dear all,
>
> I would like to show the major grid line on a script basis. I don't find
> the right event onr object I could act on.
> Does anyone know ?
>
> Regards
Previous Topic:Create Detail Gantt Chart
Next Topic:div around a table/auto scroll area
Goto Forum:
  


Current Time: Thu Sep 26 01:58:59 GMT 2024

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

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

Back to the top