Skip to main content



      Home
Home » Archived » BIRT » Chart - line marker
Chart - line marker [message #1015467] Thu, 28 February 2013 11:20 Go to next message
Eclipse UserFriend
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
Eclipse UserFriend
You could try setting the fill of the marker, in script, with something like:

fill.set(0,0,0,0);
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
Eclipse UserFriend
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
Eclipse UserFriend
You're very welcome! Always glad to help! Smile
Previous Topic:Problem on DesignElement Id while moving column in table
Next Topic:Chart - Ticks alignment
Goto Forum:
  


Current Time: Wed Mar 26 17:19:59 EDT 2025

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

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

Back to the top