Hi,

othman wrote:

Ingrid Halama wrote:
There is only one legend entry shown for one stock symbol because there is only one line style used for all the values (high low close open). You may try to trick around by adding series of chart type line without any values but with a label. That should produce additional legend
entries.

Kind regards,
Ingrid


thanks much. i'll try the above trick.

I have 2 more questions that i hope will be last questions in this thread:

1) How can i programatically show the vertical grids into the chart area
diagram? (by default only horizontal grids are shown)

Within the standard API the different types of diagrams do support several axis-supplier services. For example the LineDiagram (http://api.openoffice.org/docs/common/ref/com/sun/star/chart/LineDiagram.html) does support ChartAxisXSupplier and ChartTwoAxisYSupplier. Those services do support the boolean properties HasXAxisGrid, HasXAxisHelpGrid, HasYAxisGrid etc..
http://api.openoffice.org/docs/common/ref/com/sun/star/chart/ChartAxisXSupplier.html
http://api.openoffice.org/docs/common/ref/com/sun/star/chart/ChartAxisYSupplier.html
So it should work to set those boolean properties at the diagram.

2) this second question is optional & i suspect it to be hard to solve : is
there a way to implement a zooming effect on the chart ? so that when user
"zoom in" the chart scaling is augmented and vice versa ? is this zooming
effect an easy thing to do programatically on chart drawn via chart2 API ?

You can try to simply change the minimum and maximum values of the y-axis scale.

thanks much.

othman.

Kind regards,
Ingrid


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to