Home » Archived » BIRT » Bar Chart X-Axis grouping with dramatically different y-series scale
Bar Chart X-Axis grouping with dramatically different y-series scale [message #77619] |
Wed, 28 September 2005 14:11  |
Eclipse User |
|
|
|
I have created a chart with "text" x-axis grouping and several different
y data series. My problem, is that the y-series have dramatically
different ranges and I can't see a way to get the charting to use
different scale information (min/max/step) for the individual y-series.
The only place I've found you can specify this is on the y-axis page
and there didn't seem to be a way to say "I don't want to specify this,
compute it from my data".
For example, y1 is a percentage, so it has values in the range 0..100,
and y2 is numeric data with values in the range 0..800. I'm unable to
find any way to get the scaling for the y-axis to produce satisfactory
results. Ideally, there would be support for dynamically computing the
min/max for each series based on the data and a way to be able to
specify the min/max for each series (e.g. 0..100 for y1, 0..800 for y2,
....). The ability to manually specify the min/max would be useful for
cases like my y1 if the max value in my data was say 97%, but I still
wanted the scale to be 0..100.
Is there some way to do this currently (or planned support in the future)?
Thanks in advance for any help/suggestions...
-James
|
|
|
Re: Bar Chart X-Axis grouping with dramatically different y-series scale [message #77664 is a reply to message #77619] |
Wed, 28 September 2005 11:52   |
Eclipse User |
|
|
|
Originally posted by: mpadhye.actuate.com
Hi James,
You can only have one scale for each axis. If you want to see all your
series elements (bars, markers etc.) occupy a large part of the chart
area irrespective of the relative range of values, what you could do is
create a separate Y Axis for each series.
Suppose you have 3 Y Series. You should then create 3 Y Axis and
specify each series for a different Y Axis. By default an Axis will use
a dynamic scale based on the data for series associated with it, you
will get the behavior you are looking for. If a scale component (Min,
Max or Step) has been provided, it will override the default computed
component.
Hope this helps.
Thanks,
Milind
James Stuckey wrote:
> I have created a chart with "text" x-axis grouping and several different
> y data series. My problem, is that the y-series have dramatically
> different ranges and I can't see a way to get the charting to use
> different scale information (min/max/step) for the individual y-series.
> The only place I've found you can specify this is on the y-axis page
> and there didn't seem to be a way to say "I don't want to specify this,
> compute it from my data".
>
> For example, y1 is a percentage, so it has values in the range 0..100,
> and y2 is numeric data with values in the range 0..800. I'm unable to
> find any way to get the scaling for the y-axis to produce satisfactory
> results. Ideally, there would be support for dynamically computing the
> min/max for each series based on the data and a way to be able to
> specify the min/max for each series (e.g. 0..100 for y1, 0..800 for y2,
> ...). The ability to manually specify the min/max would be useful for
> cases like my y1 if the max value in my data was say 97%, but I still
> wanted the scale to be 0..100.
>
> Is there some way to do this currently (or planned support in the future)?
>
> Thanks in advance for any help/suggestions...
>
> -James
|
|
|
Re: Bar Chart X-Axis grouping with dramatically different y-series scale [message #77680 is a reply to message #77664] |
Wed, 28 September 2005 16:58   |
Eclipse User |
|
|
|
Thanks, Milind. I had actually been looking for a way to add additional
y-axes as a solution, but until you confirmed there was a way to do it I
apparently hadn't scoured the dialog well enough to discover that the
number of y-axes is specified on the page for the x-axis.
I'll give that a shot.
-James
Milind Padhye wrote:
> Hi James,
>
> You can only have one scale for each axis. If you want to see all
> your series elements (bars, markers etc.) occupy a large part of the
> chart area irrespective of the relative range of values, what you could
> do is create a separate Y Axis for each series.
>
> Suppose you have 3 Y Series. You should then create 3 Y Axis and
> specify each series for a different Y Axis. By default an Axis will use
> a dynamic scale based on the data for series associated with it, you
> will get the behavior you are looking for. If a scale component (Min,
> Max or Step) has been provided, it will override the default computed
> component.
>
> Hope this helps.
>
> Thanks,
> Milind
>
> James Stuckey wrote:
>
>> I have created a chart with "text" x-axis grouping and several
>> different y data series. My problem, is that the y-series have
>> dramatically different ranges and I can't see a way to get the
>> charting to use different scale information (min/max/step) for the
>> individual y-series. The only place I've found you can specify this
>> is on the y-axis page and there didn't seem to be a way to say "I
>> don't want to specify this, compute it from my data".
>>
>> For example, y1 is a percentage, so it has values in the range 0..100,
>> and y2 is numeric data with values in the range 0..800. I'm unable to
>> find any way to get the scaling for the y-axis to produce satisfactory
>> results. Ideally, there would be support for dynamically computing
>> the min/max for each series based on the data and a way to be able to
>> specify the min/max for each series (e.g. 0..100 for y1, 0..800 for
>> y2, ...). The ability to manually specify the min/max would be useful
>> for cases like my y1 if the max value in my data was say 97%, but I
>> still wanted the scale to be 0..100.
>>
>> Is there some way to do this currently (or planned support in the
>> future)?
>>
>> Thanks in advance for any help/suggestions...
>>
>> -James
|
|
|
Re: Bar Chart X-Axis grouping with dramatically different y-series scale [message #77769 is a reply to message #77664] |
Wed, 28 September 2005 19:03  |
Eclipse User |
|
|
|
Ok, so that is close to what I want...
The problem I'm having now is that using 1 series per axis for my bar
side-by-side bar chart seems to be resulting in all of the bars being
rendered on top of each other. Which might be what I want sometimes,
but I was hoping to be able to get each of the series to display next to
each other like they do when you specify multiple series on one axis.
Any way to accomplish that?
-James
Milind Padhye wrote:
> Hi James,
>
> You can only have one scale for each axis. If you want to see all
> your series elements (bars, markers etc.) occupy a large part of the
> chart area irrespective of the relative range of values, what you could
> do is create a separate Y Axis for each series.
>
> Suppose you have 3 Y Series. You should then create 3 Y Axis and
> specify each series for a different Y Axis. By default an Axis will use
> a dynamic scale based on the data for series associated with it, you
> will get the behavior you are looking for. If a scale component (Min,
> Max or Step) has been provided, it will override the default computed
> component.
>
> Hope this helps.
>
> Thanks,
> Milind
>
> James Stuckey wrote:
>
>> I have created a chart with "text" x-axis grouping and several
>> different y data series. My problem, is that the y-series have
>> dramatically different ranges and I can't see a way to get the
>> charting to use different scale information (min/max/step) for the
>> individual y-series. The only place I've found you can specify this
>> is on the y-axis page and there didn't seem to be a way to say "I
>> don't want to specify this, compute it from my data".
>>
>> For example, y1 is a percentage, so it has values in the range 0..100,
>> and y2 is numeric data with values in the range 0..800. I'm unable to
>> find any way to get the scaling for the y-axis to produce satisfactory
>> results. Ideally, there would be support for dynamically computing
>> the min/max for each series based on the data and a way to be able to
>> specify the min/max for each series (e.g. 0..100 for y1, 0..800 for
>> y2, ...). The ability to manually specify the min/max would be useful
>> for cases like my y1 if the max value in my data was say 97%, but I
>> still wanted the scale to be 0..100.
>>
>> Is there some way to do this currently (or planned support in the
>> future)?
>>
>> Thanks in advance for any help/suggestions...
>>
>> -James
|
|
|
Re: Bar Chart X-Axis grouping with dramatically different y-series scale [message #77785 is a reply to message #77769] |
Wed, 28 September 2005 16:54  |
Eclipse User |
|
|
|
Originally posted by: mpadhye.actuate.com
No...this is not supported currently. What happens is that each series
is rendered by considering other series that share a 'unit' on the X
Axis separately for each Y Axis.
You can file an enhancement request in bugzilla to provide this as an
option (to handle series cumulatively across all orthogonal (Y) axes
when it comes to sharing units). We will investigate the feasibility of
doing this as an option.
Thanks,
Milind
James Stuckey wrote:
> Ok, so that is close to what I want...
>
> The problem I'm having now is that using 1 series per axis for my bar
> side-by-side bar chart seems to be resulting in all of the bars being
> rendered on top of each other. Which might be what I want sometimes,
> but I was hoping to be able to get each of the series to display next to
> each other like they do when you specify multiple series on one axis.
>
> Any way to accomplish that?
>
> -James
>
> Milind Padhye wrote:
>
>> Hi James,
>>
>> You can only have one scale for each axis. If you want to see all
>> your series elements (bars, markers etc.) occupy a large part of the
>> chart area irrespective of the relative range of values, what you
>> could do is create a separate Y Axis for each series.
>>
>> Suppose you have 3 Y Series. You should then create 3 Y Axis and
>> specify each series for a different Y Axis. By default an Axis will
>> use a dynamic scale based on the data for series associated with it,
>> you will get the behavior you are looking for. If a scale component
>> (Min, Max or Step) has been provided, it will override the default
>> computed component.
>>
>> Hope this helps.
>>
>> Thanks,
>> Milind
>>
>> James Stuckey wrote:
>>
>>> I have created a chart with "text" x-axis grouping and several
>>> different y data series. My problem, is that the y-series have
>>> dramatically different ranges and I can't see a way to get the
>>> charting to use different scale information (min/max/step) for the
>>> individual y-series. The only place I've found you can specify this
>>> is on the y-axis page and there didn't seem to be a way to say "I
>>> don't want to specify this, compute it from my data".
>>>
>>> For example, y1 is a percentage, so it has values in the range
>>> 0..100, and y2 is numeric data with values in the range 0..800. I'm
>>> unable to find any way to get the scaling for the y-axis to produce
>>> satisfactory results. Ideally, there would be support for
>>> dynamically computing the min/max for each series based on the data
>>> and a way to be able to specify the min/max for each series (e.g.
>>> 0..100 for y1, 0..800 for y2, ...). The ability to manually specify
>>> the min/max would be useful for cases like my y1 if the max value in
>>> my data was say 97%, but I still wanted the scale to be 0..100.
>>>
>>> Is there some way to do this currently (or planned support in the
>>> future)?
>>>
>>> Thanks in advance for any help/suggestions...
>>>
>>> -James
|
|
|
Goto Forum:
Current Time: Mon Jul 14 13:55:09 EDT 2025
Powered by FUDForum. Page generated in 0.04160 seconds
|