Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » bar chart, series spacing
bar chart, series spacing [message #1065062] Mon, 24 June 2013 04:06 Go to next message
hage Mising name is currently offline hage Mising name
Messages: 67
Registered: September 2011
Member
Hi,

i have a bar chart with several series (bars) on one x-axis entry. i know i could increase/decrease the spacing between x-axis entries via the general-properties->unit-spacing setting, but what i'm looking for is a setting that allow me to define space between the series in one x-axis entry. is such a setting available? maybe via scripting?

thx in advance,

hage
Re: bar chart, series spacing [message #1065237 is a reply to message #1065062] Mon, 24 June 2013 19:59 Go to previous messageGo to next message
Kristopher Clark is currently offline Kristopher Clark
Messages: 130
Registered: January 2013
Senior Member
You could adjust the spacing between each series using something like

function beforeDrawSeries( series, isr, icsc )
{
  icsc.getChartInstance().setUnitSpacing(10);
}
Re: bar chart, series spacing [message #1065527 is a reply to message #1065062] Wed, 26 June 2013 07:01 Go to previous message
hage Mising name is currently offline hage Mising name
Messages: 67
Registered: September 2011
Member
Thx for your reply, Kristopher.

Unfortunately it does not answer my question. Perhaps my words did not exactly describe my requirements. E.g. at google i found this:

http://www.linuxtopia.org/online_books/eclipse_documentation/eclipse_birt_report_guide/topic/org.eclipse.birt.doc/birt/images/ChartFormatting.16.1.1.jpg

What i want to do is to insert some spacing between 'Chicago' and 'Los Angeles' and not between '1990' and '2000'. Any ideas on this?

Thx in advance,

hage

Previous Topic:Testing Javascript Code
Next Topic:how to set sortstrength in sortcondition programmatically?
Goto Forum:
  


Current Time: Sat Aug 23 15:18:07 EDT 2014

Powered by FUDForum. Page generated in 0.01703 seconds