Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Chart - line marker
Chart - line marker [message #1015467] Thu, 28 February 2013 11:20 Go to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
Hy,
there is a possibility to set a marker of a line with transparent center, like that indicated by red arrow in this image:
https://dl.dropbox.com/u/47586998/img_3.bmp
Thanks
Re: Chart - line marker [message #1015491 is a reply to message #1015467] Thu, 28 February 2013 13:30 Go to previous messageGo to next message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

You could try setting the fill of the marker, in script, with something like:

fill.set(0,0,0,0);


Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
icon14.gif  Re: Chart - line marker [message #1015664 is a reply to message #1015491] Fri, 01 March 2013 10:23 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo Rossi
Messages: 130
Registered: February 2013
Senior Member
Great!!
Work ok!!!
I insert this script:
function beforeDrawMarker( marker, dph, icsc ){
	importPackage( Packages.org.eclipse.birt.chart.model.attribute.impl);
	importPackage( Packages.org.eclipse.birt.chart.model.attribute);
	var currSeriesName = dph.getSeriesValue();
	if (currSeriesName==<series name to consider>){
		marker.setFill(ColorDefinitionImpl.create(0,0,0,0)); 
	}
}

Thanks a lot.
Re: Chart - line marker [message #1015726 is a reply to message #1015664] Fri, 01 March 2013 17:42 Go to previous message
Michael Williams is currently offline Michael Williams
Messages: 1560
Registered: July 2009
Senior Member

You're very welcome! Always glad to help! Smile

Michael

Add interactivity, scheduling, sharing, live Excel export, and JS integration to your BIRT app with the new, free BIRT server, BIRT iHub F-Type.
Previous Topic:Problem on DesignElement Id while moving column in table
Next Topic:Chart - Ticks alignment
Goto Forum:
  


Current Time: Tue Sep 02 05:16:01 EDT 2014

Powered by FUDForum. Page generated in 0.01600 seconds