| Legend entries [message #222788] |
Wed, 07 March 2007 07:14  |
Eclipse User |
|
|
|
Originally posted by: Ninja_Bunny.lycos.de
Hello!
I've a problem and it seems that I'm not able to solve it alone.
I've created a chart and want to group it by a value from the data set
called "Layer ID" but want to show the value "Layer Name" in the legend.
If I order by "Layer Name" the order is wrong, if I order by "Layer ID"
the legend shows -2 , -1, 0, 1 ...
I'm searching for a solution to say ' "sortBy(row["Layer ID"]);
legend.setText(row["Layer Name"]); '.
Does anyone of you have any suggestions?
Thank you!
Regards Nina
|
|
|
| Re: Legend entries [message #223009 is a reply to message #222788] |
Wed, 07 March 2007 19:48  |
Eclipse User |
|
|
|
Nina,
The grouping in the chart itself cannot sort on another row. However you can
solve that issue by grouping in the sql query, as sql should allow you this
kind of grouping/sorting. Then you won't need to group in the chart, just
put one value series for each group.
Thanks,
David
"Nina" <Ninja_Bunny@lycos.de> wrote in message
news:b1b65733c0495e8f12d8cdd4c43ad87b$1@www.eclipse.org...
> Hello!
>
> I've a problem and it seems that I'm not able to solve it alone.
> I've created a chart and want to group it by a value from the data set
> called "Layer ID" but want to show the value "Layer Name" in the legend.
> If I order by "Layer Name" the order is wrong, if I order by "Layer ID"
> the legend shows -2 , -1, 0, 1 ...
> I'm searching for a solution to say ' "sortBy(row["Layer ID"]);
> legend.setText(row["Layer Name"]); '.
> Does anyone of you have any suggestions?
>
> Thank you!
>
> Regards Nina
>
|
|
|
Powered by
FUDForum. Page generated in 0.03534 seconds