Hi,
othman wrote:
Ingrid Halama wrote:
2)for each column of my sheet i want to attach a legend in the chart
generated using chart2 and java code.
for example the column for "open" values should have a red square and
labeled "open" and so for other columns.
at the moment my chart is only showing a blue line and label column B
etc...
so i'm looking for a way to attach a legend to a given
com.sun.star.chart2.data.XDataSequence
is this possible thing to do with com.sun.star.chart2 and how ?
No, the legend entries are generated automatically.
Ingrid
Isn't this a serious limitation in chart2 API ?!
what the Legend entries worth if the developer can't set it programatically
?
For each series there is one entry generated in the legend. The
displayed text is the label of the series and the displayed symbol is
the symbol fitting to the properties of the series. For example when you
have a series with label 'Series A' that is a thick blue line, the
legend entry will be a symbol showing a thick blue line followed by the
text 'Series A'. That is what most users want to have.
is that same issue with standard chart API ? the developer also can't set
the Legend entries even with standard chart API ?
It is the same with the standard API. You can have a good guess on the
possibilities of the APIs when you study the features offered in the
user interface.
Kind regards,
Ingrid
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]