Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Chart - line marker
Chart - line marker [message #1015467] Thu, 28 February 2013 16:20 Go to next message
Mimmo Rossi is currently offline Mimmo RossiFriend
Messages: 146
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 18:30 Go to previous messageGo to next message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
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

Developer Evangelist, Silanis
icon14.gif  Re: Chart - line marker [message #1015664 is a reply to message #1015491] Fri, 01 March 2013 15:23 Go to previous messageGo to next message
Mimmo Rossi is currently offline Mimmo RossiFriend
Messages: 146
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 22:42 Go to previous message
Michael Williams is currently offline Michael WilliamsFriend
Messages: 1925
Registered: July 2009
Senior Member

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

Michael

Developer Evangelist, Silanis
Previous Topic:Problem on DesignElement Id while moving column in table
Next Topic:Chart - Ticks alignment
Goto Forum:
  


Current Time: Fri Apr 26 09:47:53 GMT 2024

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

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

Back to the top