Home » Archived » BIRT » Chart size
| Chart size [message #178351] |
Tue, 18 July 2006 05:11  |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
When working with charts I've at times run into truble when trying to
determine the best size for charts and extended items. For the few examples
I've done a visual assessment has been adequate, but I'm guessing there's a
better way then trial and error. Any hints on this?
Thanks in advance
Emina
|
|
| |
| Re: Chart size [message #178672 is a reply to message #178513] |
Wed, 19 July 2006 04:49   |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
The problem is that the best size depends on runtime data. If I set the
chart size to something that is to big for the runtime data, the axis
scaling gets messed up(barchart.png). Or if it's to small, the chart doesn't
get rendered at all(piechart.png).
Also, the size of the extended item depends on the chartsize. Through trial
and error I've found that the ratio is 4/3. So what I do now is set the
chartsize to fixed ints, and set the extended item to be 4/3 of that. Then
it looks fine, at least if the chart size is large enough to accomodate the
data without being to large (as mentioned above). But, if the runtime data
changes the size has to be changed manually.
Thanks in advance
Emina
"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e9j4if$u9h$1@utils.eclipse.org...
> Emina,
>
> The chart size has to be fixed in advance. Can you explain what exactly is
> the problem you're having when setting the size manually?
>
> Thanks,
>
> David
>
> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> news:e9i8jf$lqa$1@utils.eclipse.org...
> > When working with charts I've at times run into truble when trying to
> > determine the best size for charts and extended items. For the few
> > examples
> > I've done a visual assessment has been adequate, but I'm guessing
there's
> > a
> > better way then trial and error. Any hints on this?
> >
> > Thanks in advance
> > Emina
> >
> >
>
>
Attachment: piechart.png
(Size: 2.36KB, Downloaded 114 times)
Attachment: barchart.png
(Size: 1.09KB, Downloaded 90 times)
|
|
|
| Re: Chart size [message #178721 is a reply to message #178672] |
Wed, 19 July 2006 07:30   |
Eclipse User |
|
|
|
Hi Emina,
The Axis scaling doesn't really get messed up, it's because you set the
formatting to integer values on the Y Axis (or put the number of digits to
zero).
I don't really understand what you meam about the extended item depending on
the chart size? Do you create a report with the DE API, or with the BIRT
Designer?
Thanks,
David
"Emina Karic" <emina.karic@dsek.lth.se> wrote in message
news:e9krmh$rkk$1@utils.eclipse.org...
> The problem is that the best size depends on runtime data. If I set the
> chart size to something that is to big for the runtime data, the axis
> scaling gets messed up(barchart.png). Or if it's to small, the chart
> doesn't
> get rendered at all(piechart.png).
>
> Also, the size of the extended item depends on the chartsize. Through
> trial
> and error I've found that the ratio is 4/3. So what I do now is set the
> chartsize to fixed ints, and set the extended item to be 4/3 of that. Then
> it looks fine, at least if the chart size is large enough to accomodate
> the
> data without being to large (as mentioned above). But, if the runtime data
> changes the size has to be changed manually.
>
> Thanks in advance
> Emina
>
>
> "David Michonneau" <dmichonneau@actuate.com> wrote in message
> news:e9j4if$u9h$1@utils.eclipse.org...
>> Emina,
>>
>> The chart size has to be fixed in advance. Can you explain what exactly
>> is
>> the problem you're having when setting the size manually?
>>
>> Thanks,
>>
>> David
>>
>> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> news:e9i8jf$lqa$1@utils.eclipse.org...
>> > When working with charts I've at times run into truble when trying to
>> > determine the best size for charts and extended items. For the few
>> > examples
>> > I've done a visual assessment has been adequate, but I'm guessing
> there's
>> > a
>> > better way then trial and error. Any hints on this?
>> >
>> > Thanks in advance
>> > Emina
>> >
>> >
>>
>>
>
>
>
|
|
|
| Re: Chart size [message #178736 is a reply to message #178721] |
Wed, 19 July 2006 07:58   |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
Maybe I should have been more specific. I'm using the API to create reports
containing charts. And yes the Axis scaling gets messed up. If I always set
the chart size to the same thing and the query returns a large enoug number
it will look like barchart2.png. If then the query changes so that less
values are returned it looks like barchart.png. Please note that the only
change in code is the query.
Thanks in advance
Emina
"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e9l555$h38$1@utils.eclipse.org...
> Hi Emina,
>
> The Axis scaling doesn't really get messed up, it's because you set the
> formatting to integer values on the Y Axis (or put the number of digits to
> zero).
>
> I don't really understand what you meam about the extended item depending
on
> the chart size? Do you create a report with the DE API, or with the BIRT
> Designer?
>
> Thanks,
>
> David
>
> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> news:e9krmh$rkk$1@utils.eclipse.org...
> > The problem is that the best size depends on runtime data. If I set the
> > chart size to something that is to big for the runtime data, the axis
> > scaling gets messed up(barchart.png). Or if it's to small, the chart
> > doesn't
> > get rendered at all(piechart.png).
> >
> > Also, the size of the extended item depends on the chartsize. Through
> > trial
> > and error I've found that the ratio is 4/3. So what I do now is set the
> > chartsize to fixed ints, and set the extended item to be 4/3 of that.
Then
> > it looks fine, at least if the chart size is large enough to accomodate
> > the
> > data without being to large (as mentioned above). But, if the runtime
data
> > changes the size has to be changed manually.
> >
> > Thanks in advance
> > Emina
> >
> >
> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> > news:e9j4if$u9h$1@utils.eclipse.org...
> >> Emina,
> >>
> >> The chart size has to be fixed in advance. Can you explain what exactly
> >> is
> >> the problem you're having when setting the size manually?
> >>
> >> Thanks,
> >>
> >> David
> >>
> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> news:e9i8jf$lqa$1@utils.eclipse.org...
> >> > When working with charts I've at times run into truble when trying to
> >> > determine the best size for charts and extended items. For the few
> >> > examples
> >> > I've done a visual assessment has been adequate, but I'm guessing
> > there's
> >> > a
> >> > better way then trial and error. Any hints on this?
> >> >
> >> > Thanks in advance
> >> > Emina
> >> >
> >> >
> >>
> >>
> >
> >
> >
>
>
|
|
|
| Re: Chart size [message #178745 is a reply to message #178736] |
Wed, 19 July 2006 08:02   |
Eclipse User |
|
|
|
What I meant is that you should modify the Y Axis labels format to display
some digits, otherwise, they will be rounded to integers like in your
screenshot. Alternatively, you can modify the number of major ticks to show
less of them if you don't have too much datapoints.
Thanks,
David
"Emina Karic" <emina.karic@dsek.lth.se> wrote in message
news:e9l6pd$sa4$1@utils.eclipse.org...
> Maybe I should have been more specific. I'm using the API to create
> reports
> containing charts. And yes the Axis scaling gets messed up. If I always
> set
> the chart size to the same thing and the query returns a large enoug
> number
> it will look like barchart2.png. If then the query changes so that less
> values are returned it looks like barchart.png. Please note that the only
> change in code is the query.
>
> Thanks in advance
> Emina
>
> "David Michonneau" <dmichonneau@actuate.com> wrote in message
> news:e9l555$h38$1@utils.eclipse.org...
>> Hi Emina,
>>
>> The Axis scaling doesn't really get messed up, it's because you set the
>> formatting to integer values on the Y Axis (or put the number of digits
>> to
>> zero).
>>
>> I don't really understand what you meam about the extended item depending
> on
>> the chart size? Do you create a report with the DE API, or with the BIRT
>> Designer?
>>
>> Thanks,
>>
>> David
>>
>> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> news:e9krmh$rkk$1@utils.eclipse.org...
>> > The problem is that the best size depends on runtime data. If I set the
>> > chart size to something that is to big for the runtime data, the axis
>> > scaling gets messed up(barchart.png). Or if it's to small, the chart
>> > doesn't
>> > get rendered at all(piechart.png).
>> >
>> > Also, the size of the extended item depends on the chartsize. Through
>> > trial
>> > and error I've found that the ratio is 4/3. So what I do now is set the
>> > chartsize to fixed ints, and set the extended item to be 4/3 of that.
> Then
>> > it looks fine, at least if the chart size is large enough to accomodate
>> > the
>> > data without being to large (as mentioned above). But, if the runtime
> data
>> > changes the size has to be changed manually.
>> >
>> > Thanks in advance
>> > Emina
>> >
>> >
>> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
>> > news:e9j4if$u9h$1@utils.eclipse.org...
>> >> Emina,
>> >>
>> >> The chart size has to be fixed in advance. Can you explain what
>> >> exactly
>> >> is
>> >> the problem you're having when setting the size manually?
>> >>
>> >> Thanks,
>> >>
>> >> David
>> >>
>> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> >> news:e9i8jf$lqa$1@utils.eclipse.org...
>> >> > When working with charts I've at times run into truble when trying
>> >> > to
>> >> > determine the best size for charts and extended items. For the few
>> >> > examples
>> >> > I've done a visual assessment has been adequate, but I'm guessing
>> > there's
>> >> > a
>> >> > better way then trial and error. Any hints on this?
>> >> >
>> >> > Thanks in advance
>> >> > Emina
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>
>
>
|
|
|
| Re: Chart size [message #178776 is a reply to message #178745] |
Wed, 19 July 2006 08:48   |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
Worked like a charm. Thanks a bunch.
I have a similar kind of problem with pie charts. If I have more groups than
expected the charts don't fit and they don't get rendered correctly. Is
there a way to get around this?
Thanks in advance
Emina
"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e9l716$trp$1@utils.eclipse.org...
> What I meant is that you should modify the Y Axis labels format to display
> some digits, otherwise, they will be rounded to integers like in your
> screenshot. Alternatively, you can modify the number of major ticks to
show
> less of them if you don't have too much datapoints.
>
> Thanks,
>
> David
>
>
> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> news:e9l6pd$sa4$1@utils.eclipse.org...
> > Maybe I should have been more specific. I'm using the API to create
> > reports
> > containing charts. And yes the Axis scaling gets messed up. If I always
> > set
> > the chart size to the same thing and the query returns a large enoug
> > number
> > it will look like barchart2.png. If then the query changes so that less
> > values are returned it looks like barchart.png. Please note that the
only
> > change in code is the query.
> >
> > Thanks in advance
> > Emina
> >
> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> > news:e9l555$h38$1@utils.eclipse.org...
> >> Hi Emina,
> >>
> >> The Axis scaling doesn't really get messed up, it's because you set the
> >> formatting to integer values on the Y Axis (or put the number of digits
> >> to
> >> zero).
> >>
> >> I don't really understand what you meam about the extended item
depending
> > on
> >> the chart size? Do you create a report with the DE API, or with the
BIRT
> >> Designer?
> >>
> >> Thanks,
> >>
> >> David
> >>
> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> news:e9krmh$rkk$1@utils.eclipse.org...
> >> > The problem is that the best size depends on runtime data. If I set
the
> >> > chart size to something that is to big for the runtime data, the axis
> >> > scaling gets messed up(barchart.png). Or if it's to small, the chart
> >> > doesn't
> >> > get rendered at all(piechart.png).
> >> >
> >> > Also, the size of the extended item depends on the chartsize. Through
> >> > trial
> >> > and error I've found that the ratio is 4/3. So what I do now is set
the
> >> > chartsize to fixed ints, and set the extended item to be 4/3 of that.
> > Then
> >> > it looks fine, at least if the chart size is large enough to
accomodate
> >> > the
> >> > data without being to large (as mentioned above). But, if the runtime
> > data
> >> > changes the size has to be changed manually.
> >> >
> >> > Thanks in advance
> >> > Emina
> >> >
> >> >
> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> >> > news:e9j4if$u9h$1@utils.eclipse.org...
> >> >> Emina,
> >> >>
> >> >> The chart size has to be fixed in advance. Can you explain what
> >> >> exactly
> >> >> is
> >> >> the problem you're having when setting the size manually?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> David
> >> >>
> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> >> news:e9i8jf$lqa$1@utils.eclipse.org...
> >> >> > When working with charts I've at times run into truble when trying
> >> >> > to
> >> >> > determine the best size for charts and extended items. For the few
> >> >> > examples
> >> >> > I've done a visual assessment has been adequate, but I'm guessing
> >> > there's
> >> >> > a
> >> >> > better way then trial and error. Any hints on this?
> >> >> >
> >> >> > Thanks in advance
> >> >> > Emina
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
> >
>
>
|
|
|
| Re: Chart size [message #178825 is a reply to message #178745] |
Wed, 19 July 2006 09:53   |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
By the way, can the number of major ticks be set in an adaptive manner. The
zoom function usually does a good job of calculating min/max/step. I just
wan't to change the step if it is zoomed in enough to display steps less
than 1. Can it be done?
Thanks in advance
Emina
"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e9l716$trp$1@utils.eclipse.org...
> What I meant is that you should modify the Y Axis labels format to display
> some digits, otherwise, they will be rounded to integers like in your
> screenshot. Alternatively, you can modify the number of major ticks to
show
> less of them if you don't have too much datapoints.
>
> Thanks,
>
> David
>
>
> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> news:e9l6pd$sa4$1@utils.eclipse.org...
> > Maybe I should have been more specific. I'm using the API to create
> > reports
> > containing charts. And yes the Axis scaling gets messed up. If I always
> > set
> > the chart size to the same thing and the query returns a large enoug
> > number
> > it will look like barchart2.png. If then the query changes so that less
> > values are returned it looks like barchart.png. Please note that the
only
> > change in code is the query.
> >
> > Thanks in advance
> > Emina
> >
> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> > news:e9l555$h38$1@utils.eclipse.org...
> >> Hi Emina,
> >>
> >> The Axis scaling doesn't really get messed up, it's because you set the
> >> formatting to integer values on the Y Axis (or put the number of digits
> >> to
> >> zero).
> >>
> >> I don't really understand what you meam about the extended item
depending
> > on
> >> the chart size? Do you create a report with the DE API, or with the
BIRT
> >> Designer?
> >>
> >> Thanks,
> >>
> >> David
> >>
> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> news:e9krmh$rkk$1@utils.eclipse.org...
> >> > The problem is that the best size depends on runtime data. If I set
the
> >> > chart size to something that is to big for the runtime data, the axis
> >> > scaling gets messed up(barchart.png). Or if it's to small, the chart
> >> > doesn't
> >> > get rendered at all(piechart.png).
> >> >
> >> > Also, the size of the extended item depends on the chartsize. Through
> >> > trial
> >> > and error I've found that the ratio is 4/3. So what I do now is set
the
> >> > chartsize to fixed ints, and set the extended item to be 4/3 of that.
> > Then
> >> > it looks fine, at least if the chart size is large enough to
accomodate
> >> > the
> >> > data without being to large (as mentioned above). But, if the runtime
> > data
> >> > changes the size has to be changed manually.
> >> >
> >> > Thanks in advance
> >> > Emina
> >> >
> >> >
> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> >> > news:e9j4if$u9h$1@utils.eclipse.org...
> >> >> Emina,
> >> >>
> >> >> The chart size has to be fixed in advance. Can you explain what
> >> >> exactly
> >> >> is
> >> >> the problem you're having when setting the size manually?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> David
> >> >>
> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> >> news:e9i8jf$lqa$1@utils.eclipse.org...
> >> >> > When working with charts I've at times run into truble when trying
> >> >> > to
> >> >> > determine the best size for charts and extended items. For the few
> >> >> > examples
> >> >> > I've done a visual assessment has been adequate, but I'm guessing
> >> > there's
> >> >> > a
> >> >> > better way then trial and error. Any hints on this?
> >> >> >
> >> >> > Thanks in advance
> >> >> > Emina
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
> >
>
>
|
|
|
| Re: Chart size [message #179098 is a reply to message #178776] |
Thu, 20 July 2006 10:51   |
Eclipse User |
|
|
|
You mean if you have multiple Pie charts, but you don't know how many in
advance?
Note that you can set the number of columns to layout multiple charts, I
think this can be done dynamically in beforeGeneration too. Otherwise a good
idea would be to show the data labels inside the pies (they take less space
this way), or simply as tooltips.
Thanks,
David
"Emina Karic" <emina.karic@dsek.lth.se> wrote in message
news:e9l9no$fg3$1@utils.eclipse.org...
> Worked like a charm. Thanks a bunch.
>
> I have a similar kind of problem with pie charts. If I have more groups
> than
> expected the charts don't fit and they don't get rendered correctly. Is
> there a way to get around this?
>
> Thanks in advance
> Emina
>
> "David Michonneau" <dmichonneau@actuate.com> wrote in message
> news:e9l716$trp$1@utils.eclipse.org...
>> What I meant is that you should modify the Y Axis labels format to
>> display
>> some digits, otherwise, they will be rounded to integers like in your
>> screenshot. Alternatively, you can modify the number of major ticks to
> show
>> less of them if you don't have too much datapoints.
>>
>> Thanks,
>>
>> David
>>
>>
>> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> news:e9l6pd$sa4$1@utils.eclipse.org...
>> > Maybe I should have been more specific. I'm using the API to create
>> > reports
>> > containing charts. And yes the Axis scaling gets messed up. If I always
>> > set
>> > the chart size to the same thing and the query returns a large enoug
>> > number
>> > it will look like barchart2.png. If then the query changes so that less
>> > values are returned it looks like barchart.png. Please note that the
> only
>> > change in code is the query.
>> >
>> > Thanks in advance
>> > Emina
>> >
>> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
>> > news:e9l555$h38$1@utils.eclipse.org...
>> >> Hi Emina,
>> >>
>> >> The Axis scaling doesn't really get messed up, it's because you set
>> >> the
>> >> formatting to integer values on the Y Axis (or put the number of
>> >> digits
>> >> to
>> >> zero).
>> >>
>> >> I don't really understand what you meam about the extended item
> depending
>> > on
>> >> the chart size? Do you create a report with the DE API, or with the
> BIRT
>> >> Designer?
>> >>
>> >> Thanks,
>> >>
>> >> David
>> >>
>> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> >> news:e9krmh$rkk$1@utils.eclipse.org...
>> >> > The problem is that the best size depends on runtime data. If I set
> the
>> >> > chart size to something that is to big for the runtime data, the
>> >> > axis
>> >> > scaling gets messed up(barchart.png). Or if it's to small, the chart
>> >> > doesn't
>> >> > get rendered at all(piechart.png).
>> >> >
>> >> > Also, the size of the extended item depends on the chartsize.
>> >> > Through
>> >> > trial
>> >> > and error I've found that the ratio is 4/3. So what I do now is set
> the
>> >> > chartsize to fixed ints, and set the extended item to be 4/3 of
>> >> > that.
>> > Then
>> >> > it looks fine, at least if the chart size is large enough to
> accomodate
>> >> > the
>> >> > data without being to large (as mentioned above). But, if the
>> >> > runtime
>> > data
>> >> > changes the size has to be changed manually.
>> >> >
>> >> > Thanks in advance
>> >> > Emina
>> >> >
>> >> >
>> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
>> >> > news:e9j4if$u9h$1@utils.eclipse.org...
>> >> >> Emina,
>> >> >>
>> >> >> The chart size has to be fixed in advance. Can you explain what
>> >> >> exactly
>> >> >> is
>> >> >> the problem you're having when setting the size manually?
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> David
>> >> >>
>> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> >> >> news:e9i8jf$lqa$1@utils.eclipse.org...
>> >> >> > When working with charts I've at times run into truble when
>> >> >> > trying
>> >> >> > to
>> >> >> > determine the best size for charts and extended items. For the
>> >> >> > few
>> >> >> > examples
>> >> >> > I've done a visual assessment has been adequate, but I'm
>> >> >> > guessing
>> >> > there's
>> >> >> > a
>> >> >> > better way then trial and error. Any hints on this?
>> >> >> >
>> >> >> > Thanks in advance
>> >> >> > Emina
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>
>
|
|
|
| Re: Chart size [message #179101 is a reply to message #178825] |
Thu, 20 July 2006 10:52   |
Eclipse User |
|
|
|
How do you zoom exactly? You regenerate the chart? Then at that time you can
specify the number of ticks in the chart model before regeneration. If
you're talking about zooming inside SVG, no ticks can be added at that time,
since it's a "static " zoom.
Thanks,
David
"Emina Karic" <emina.karic@dsek.lth.se> wrote in message
news:e9ldgc$8f5$1@utils.eclipse.org...
> By the way, can the number of major ticks be set in an adaptive manner.
> The
> zoom function usually does a good job of calculating min/max/step. I just
> wan't to change the step if it is zoomed in enough to display steps less
> than 1. Can it be done?
> Thanks in advance
> Emina
> "David Michonneau" <dmichonneau@actuate.com> wrote in message
> news:e9l716$trp$1@utils.eclipse.org...
>> What I meant is that you should modify the Y Axis labels format to
>> display
>> some digits, otherwise, they will be rounded to integers like in your
>> screenshot. Alternatively, you can modify the number of major ticks to
> show
>> less of them if you don't have too much datapoints.
>>
>> Thanks,
>>
>> David
>>
>>
>> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> news:e9l6pd$sa4$1@utils.eclipse.org...
>> > Maybe I should have been more specific. I'm using the API to create
>> > reports
>> > containing charts. And yes the Axis scaling gets messed up. If I always
>> > set
>> > the chart size to the same thing and the query returns a large enoug
>> > number
>> > it will look like barchart2.png. If then the query changes so that less
>> > values are returned it looks like barchart.png. Please note that the
> only
>> > change in code is the query.
>> >
>> > Thanks in advance
>> > Emina
>> >
>> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
>> > news:e9l555$h38$1@utils.eclipse.org...
>> >> Hi Emina,
>> >>
>> >> The Axis scaling doesn't really get messed up, it's because you set
>> >> the
>> >> formatting to integer values on the Y Axis (or put the number of
>> >> digits
>> >> to
>> >> zero).
>> >>
>> >> I don't really understand what you meam about the extended item
> depending
>> > on
>> >> the chart size? Do you create a report with the DE API, or with the
> BIRT
>> >> Designer?
>> >>
>> >> Thanks,
>> >>
>> >> David
>> >>
>> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> >> news:e9krmh$rkk$1@utils.eclipse.org...
>> >> > The problem is that the best size depends on runtime data. If I set
> the
>> >> > chart size to something that is to big for the runtime data, the
>> >> > axis
>> >> > scaling gets messed up(barchart.png). Or if it's to small, the chart
>> >> > doesn't
>> >> > get rendered at all(piechart.png).
>> >> >
>> >> > Also, the size of the extended item depends on the chartsize.
>> >> > Through
>> >> > trial
>> >> > and error I've found that the ratio is 4/3. So what I do now is set
> the
>> >> > chartsize to fixed ints, and set the extended item to be 4/3 of
>> >> > that.
>> > Then
>> >> > it looks fine, at least if the chart size is large enough to
> accomodate
>> >> > the
>> >> > data without being to large (as mentioned above). But, if the
>> >> > runtime
>> > data
>> >> > changes the size has to be changed manually.
>> >> >
>> >> > Thanks in advance
>> >> > Emina
>> >> >
>> >> >
>> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
>> >> > news:e9j4if$u9h$1@utils.eclipse.org...
>> >> >> Emina,
>> >> >>
>> >> >> The chart size has to be fixed in advance. Can you explain what
>> >> >> exactly
>> >> >> is
>> >> >> the problem you're having when setting the size manually?
>> >> >>
>> >> >> Thanks,
>> >> >>
>> >> >> David
>> >> >>
>> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
>> >> >> news:e9i8jf$lqa$1@utils.eclipse.org...
>> >> >> > When working with charts I've at times run into truble when
>> >> >> > trying
>> >> >> > to
>> >> >> > determine the best size for charts and extended items. For the
>> >> >> > few
>> >> >> > examples
>> >> >> > I've done a visual assessment has been adequate, but I'm
>> >> >> > guessing
>> >> > there's
>> >> >> > a
>> >> >> > better way then trial and error. Any hints on this?
>> >> >> >
>> >> >> > Thanks in advance
>> >> >> > Emina
>> >> >> >
>> >> >> >
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>> >
>>
>>
>
>
|
|
|
| Re: Chart size [message #180105 is a reply to message #179101] |
Wed, 26 July 2006 05:20   |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
It seems that formatting the axis labels is the best choice here. Thanks a
lot for your help.
Emina
"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e9o5bf$atg$1@utils.eclipse.org...
> How do you zoom exactly? You regenerate the chart? Then at that time you
can
> specify the number of ticks in the chart model before regeneration. If
> you're talking about zooming inside SVG, no ticks can be added at that
time,
> since it's a "static " zoom.
>
> Thanks,
>
> David
>
> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> news:e9ldgc$8f5$1@utils.eclipse.org...
> > By the way, can the number of major ticks be set in an adaptive manner.
> > The
> > zoom function usually does a good job of calculating min/max/step. I
just
> > wan't to change the step if it is zoomed in enough to display steps less
> > than 1. Can it be done?
> > Thanks in advance
> > Emina
> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> > news:e9l716$trp$1@utils.eclipse.org...
> >> What I meant is that you should modify the Y Axis labels format to
> >> display
> >> some digits, otherwise, they will be rounded to integers like in your
> >> screenshot. Alternatively, you can modify the number of major ticks to
> > show
> >> less of them if you don't have too much datapoints.
> >>
> >> Thanks,
> >>
> >> David
> >>
> >>
> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> news:e9l6pd$sa4$1@utils.eclipse.org...
> >> > Maybe I should have been more specific. I'm using the API to create
> >> > reports
> >> > containing charts. And yes the Axis scaling gets messed up. If I
always
> >> > set
> >> > the chart size to the same thing and the query returns a large enoug
> >> > number
> >> > it will look like barchart2.png. If then the query changes so that
less
> >> > values are returned it looks like barchart.png. Please note that the
> > only
> >> > change in code is the query.
> >> >
> >> > Thanks in advance
> >> > Emina
> >> >
> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> >> > news:e9l555$h38$1@utils.eclipse.org...
> >> >> Hi Emina,
> >> >>
> >> >> The Axis scaling doesn't really get messed up, it's because you set
> >> >> the
> >> >> formatting to integer values on the Y Axis (or put the number of
> >> >> digits
> >> >> to
> >> >> zero).
> >> >>
> >> >> I don't really understand what you meam about the extended item
> > depending
> >> > on
> >> >> the chart size? Do you create a report with the DE API, or with the
> > BIRT
> >> >> Designer?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> David
> >> >>
> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> >> news:e9krmh$rkk$1@utils.eclipse.org...
> >> >> > The problem is that the best size depends on runtime data. If I
set
> > the
> >> >> > chart size to something that is to big for the runtime data, the
> >> >> > axis
> >> >> > scaling gets messed up(barchart.png). Or if it's to small, the
chart
> >> >> > doesn't
> >> >> > get rendered at all(piechart.png).
> >> >> >
> >> >> > Also, the size of the extended item depends on the chartsize.
> >> >> > Through
> >> >> > trial
> >> >> > and error I've found that the ratio is 4/3. So what I do now is
set
> > the
> >> >> > chartsize to fixed ints, and set the extended item to be 4/3 of
> >> >> > that.
> >> > Then
> >> >> > it looks fine, at least if the chart size is large enough to
> > accomodate
> >> >> > the
> >> >> > data without being to large (as mentioned above). But, if the
> >> >> > runtime
> >> > data
> >> >> > changes the size has to be changed manually.
> >> >> >
> >> >> > Thanks in advance
> >> >> > Emina
> >> >> >
> >> >> >
> >> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> >> >> > news:e9j4if$u9h$1@utils.eclipse.org...
> >> >> >> Emina,
> >> >> >>
> >> >> >> The chart size has to be fixed in advance. Can you explain what
> >> >> >> exactly
> >> >> >> is
> >> >> >> the problem you're having when setting the size manually?
> >> >> >>
> >> >> >> Thanks,
> >> >> >>
> >> >> >> David
> >> >> >>
> >> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> >> >> news:e9i8jf$lqa$1@utils.eclipse.org...
> >> >> >> > When working with charts I've at times run into truble when
> >> >> >> > trying
> >> >> >> > to
> >> >> >> > determine the best size for charts and extended items. For the
> >> >> >> > few
> >> >> >> > examples
> >> >> >> > I've done a visual assessment has been adequate, but I'm
> >> >> >> > guessing
> >> >> > there's
> >> >> >> > a
> >> >> >> > better way then trial and error. Any hints on this?
> >> >> >> >
> >> >> >> > Thanks in advance
> >> >> >> > Emina
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
>
|
|
|
| Re: Chart size [message #180113 is a reply to message #179098] |
Wed, 26 July 2006 05:21  |
Eclipse User |
|
|
|
Originally posted by: emina.karic.dsek.lth.se
Thanks for the pointer. I'll probably go with the columns. From the little
experimenting I've done it does the best job. Thanks a lot.
Emina
"David Michonneau" <dmichonneau@actuate.com> wrote in message
news:e9o58o$9u3$1@utils.eclipse.org...
> You mean if you have multiple Pie charts, but you don't know how many in
> advance?
>
> Note that you can set the number of columns to layout multiple charts, I
> think this can be done dynamically in beforeGeneration too. Otherwise a
good
> idea would be to show the data labels inside the pies (they take less
space
> this way), or simply as tooltips.
>
> Thanks,
>
> David
>
> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> news:e9l9no$fg3$1@utils.eclipse.org...
> > Worked like a charm. Thanks a bunch.
> >
> > I have a similar kind of problem with pie charts. If I have more groups
> > than
> > expected the charts don't fit and they don't get rendered correctly. Is
> > there a way to get around this?
> >
> > Thanks in advance
> > Emina
> >
> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> > news:e9l716$trp$1@utils.eclipse.org...
> >> What I meant is that you should modify the Y Axis labels format to
> >> display
> >> some digits, otherwise, they will be rounded to integers like in your
> >> screenshot. Alternatively, you can modify the number of major ticks to
> > show
> >> less of them if you don't have too much datapoints.
> >>
> >> Thanks,
> >>
> >> David
> >>
> >>
> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> news:e9l6pd$sa4$1@utils.eclipse.org...
> >> > Maybe I should have been more specific. I'm using the API to create
> >> > reports
> >> > containing charts. And yes the Axis scaling gets messed up. If I
always
> >> > set
> >> > the chart size to the same thing and the query returns a large enoug
> >> > number
> >> > it will look like barchart2.png. If then the query changes so that
less
> >> > values are returned it looks like barchart.png. Please note that the
> > only
> >> > change in code is the query.
> >> >
> >> > Thanks in advance
> >> > Emina
> >> >
> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> >> > news:e9l555$h38$1@utils.eclipse.org...
> >> >> Hi Emina,
> >> >>
> >> >> The Axis scaling doesn't really get messed up, it's because you set
> >> >> the
> >> >> formatting to integer values on the Y Axis (or put the number of
> >> >> digits
> >> >> to
> >> >> zero).
> >> >>
> >> >> I don't really understand what you meam about the extended item
> > depending
> >> > on
> >> >> the chart size? Do you create a report with the DE API, or with the
> > BIRT
> >> >> Designer?
> >> >>
> >> >> Thanks,
> >> >>
> >> >> David
> >> >>
> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> >> news:e9krmh$rkk$1@utils.eclipse.org...
> >> >> > The problem is that the best size depends on runtime data. If I
set
> > the
> >> >> > chart size to something that is to big for the runtime data, the
> >> >> > axis
> >> >> > scaling gets messed up(barchart.png). Or if it's to small, the
chart
> >> >> > doesn't
> >> >> > get rendered at all(piechart.png).
> >> >> >
> >> >> > Also, the size of the extended item depends on the chartsize.
> >> >> > Through
> >> >> > trial
> >> >> > and error I've found that the ratio is 4/3. So what I do now is
set
> > the
> >> >> > chartsize to fixed ints, and set the extended item to be 4/3 of
> >> >> > that.
> >> > Then
> >> >> > it looks fine, at least if the chart size is large enough to
> > accomodate
> >> >> > the
> >> >> > data without being to large (as mentioned above). But, if the
> >> >> > runtime
> >> > data
> >> >> > changes the size has to be changed manually.
> >> >> >
> >> >> > Thanks in advance
> >> >> > Emina
> >> >> >
> >> >> >
> >> >> > "David Michonneau" <dmichonneau@actuate.com> wrote in message
> >> >> > news:e9j4if$u9h$1@utils.eclipse.org...
> >> >> >> Emina,
> >> >> >>
> >> >> >> The chart size has to be fixed in advance. Can you explain what
> >> >> >> exactly
> >> >> >> is
> >> >> >> the problem you're having when setting the size manually?
> >> >> >>
> >> >> >> Thanks,
> >> >> >>
> >> >> >> David
> >> >> >>
> >> >> >> "Emina Karic" <emina.karic@dsek.lth.se> wrote in message
> >> >> >> news:e9i8jf$lqa$1@utils.eclipse.org...
> >> >> >> > When working with charts I've at times run into truble when
> >> >> >> > trying
> >> >> >> > to
> >> >> >> > determine the best size for charts and extended items. For the
> >> >> >> > few
> >> >> >> > examples
> >> >> >> > I've done a visual assessment has been adequate, but I'm
> >> >> >> > guessing
> >> >> > there's
> >> >> >> > a
> >> >> >> > better way then trial and error. Any hints on this?
> >> >> >> >
> >> >> >> > Thanks in advance
> >> >> >> > Emina
> >> >> >> >
> >> >> >> >
> >> >> >>
> >> >> >>
> >> >> >
> >> >> >
> >> >> >
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >
> >
>
>
|
|
|
Goto Forum:
Current Time: Sat Oct 25 13:56:05 EDT 2025
Powered by FUDForum. Page generated in 0.06749 seconds
|