:
Hi,
othman wrote:
Hi Ingrid ,
Just discard my last email where i reported a bug about renaming sheets .
actually i solved the issue . I was probably doing some mistake ,but now
i
get correct behavior .
The most important thing for me now is to arrange the vertical grid
labels
Hi Ingrid,
I'm attaching below a screen shot of the x-axis grid and labels i need to
achieve.
as you can see the x-axis should display dates with one month difference and
between two successive months ,there should be two vertical grids in between
without labels.
I'm looking for a workaround
?
thanks.
othman wrote:
Thanks much Ingrid ,i'll try using this workaround .
As you can see this discussion may be useful to discover bugs and improve
the charting component.
I think i discovered another bug related to calc sheets renaming. here is
the situation:
1-I open a calc
be removed from sheets elements array.
thanks much .
othman.
Ingrid Halama wrote:
Hi,
That is a bug. You can do the following to work around:
Query the Chart document for interface XMultiServiceFactory:
http://api.openoffice.org/docs/common/ref/com/sun/star/lang/XMultiServiceFactory.html
);
xGridProp.setPropertyValue( LineWidth, new Integer( 30 ));
}
Ingrid Halama wrote:
Hi,
othman wrote:
Hi Ingrid,
I believe the zooming feature might be beyond the scope of my project
requirements now..
Ok.
anyway i wish if you can think adding the feature of scaling the dates
x-axis
date labels should not be displayed on x-axis
. how can i implement this ?
thanks.
othman.
Ingrid Halama wrote:
Hi,
othman wrote:
Hi Ingrid,
as we all know the candle chart has two bars (black and white)
I guess that by changing the bar width, the chart can have a larger date
range
.
do you have an idea how we can implement zoom in/out for a OO.o candle chart
?
thanks.
othman.
--
View this message in context:
http://www.nabble.com/discussing-com%3Asun%3Astar%3Achart2-API-tp19268400p19484793.html
Sent from the openoffice - api dev mailing list archive at Nabble.com
Ingrid Halama wrote:
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
entries will show . or is it same for both standard api and chart2
api ?
I would appreciate if you point me a more efficient method to show the
missing candle chart legend entries (using chart2 API).
thanks.
othman.
--
View this message in context:
http://www.nabble.com/discussing-com%3Asun
the chart doesn't display the other candle series with roles
values-max ,values-first , values-min ?
it seems for candle chart only the close series are displayed in the
legend. is there a way to add the other candle series to legend entries ?
thanks much.
othman.
--
View this message in context
much.
othman.
--
View this message in context:
http://www.nabble.com/discussing-com%3Asun%3Astar%3Achart2-API-tp19268400p19436686.html
Sent from the openoffice - api dev mailing list archive at Nabble.com.
-
To unsubscribe, e
but couldn't figured this out.
thanks.
othman
--
View this message in context:
http://www.nabble.com/discussing-com%3Asun%3Astar%3Achart2-API-tp19268400p19426110.html
Sent from the openoffice - api dev mailing list archive at Nabble.com
Hi all,
I spent about 1 month posting questions about this subject in multipe forums
but i couldn't get the necessary information.there are still some big holes
in chart2 API features .the other problem is that the documentation on
chart2 is sparse almost irrelevant and useless .
I'm trying to
Ingrid Halama wrote:
For each series there is one entry generated in the legend. The
displayed text is the label of the series
that's what i want to do : i want to set a Label for a given
com.sun.star.chart2.XDataSeries Object.but this interface only has one
method
Ingrid Halama wrote:
When you create the chart with the standard API you could know it
already. Look at the parameters of method 'addNewByName' at the
interface XTableCharts:
http://api.openoffice.org/docs/common/ref/com/sun/star/table/XTableCharts.html
Setting parameter bRowHeaders to
Hi,
below are two questions regarding chart2 API features:
1) the default color of line charts (com.sun.star.chart2.LineChartType) is
blue ; i want to change the color to black .how can i do that ? (i don't
know what are the properties available for line chart b/c there is no
documentation for
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
Hi all,
I'm opening this new thread to further discuss the features available in the
Unpublished com:sun:star:chart2 module . I hope developers interested in the
chart2 module will benefit and contribute to this discussion.
the first remark i have :
in the dev guide
I need to get the documentation for other chart2 chart type services.
this documentation will help me understand the structure of a given chart2
type service. where can i find this documentation ?
my aim is to implement a new chart type service; so i need to know the
following infos:
1) is there
Hi,
After thinking more about it, integrating jfreechart with UNO might not be a
good idea : it will make things more complex rather than help simplifying my
task.
Now I'm in a quit uncomfortable situation :
1)the standard chart API doesn't provide feature to superimpose two
different
Hi,
Ingrid Halama wrote:
There is no concept of date range at a category axis in neither API.
There is only a sequence of texts that are displayed in order.
The values in the stock chart are also only displayed in order. They are
not displayed regarding any specific date or x value.
Hi Ingrid,
I appreciate your reply interest to help in our project.our project scope
is more interesting .i'll explain it below.at this stage i'm trying to
discover the new chart2 API which still remains obscure to me.i'll need some
time to understand well the structure of this chart2
Hi Ingrid,
thanks for the elaborated response. I will discuss your propositions with
our project manager probably post the feedback in this mailing list .
meantime , i hope we can continue on the issue of date formatting.
Ingrid Halama wrote:
It is not possible to set a min date and a max
for DataSequence
.
I searched the chart2 module for class Categories or something like that
,but there is no such class or service.
can you please explain in more details how to use categories property to
set x-axis values of candlestick chart .
thanks
othman.
--
View this message in context:
http
hi,
Ingrid Halama wrote:
With chart2 API the categories have to be attached to the according x
axis. When you create the chart using the standard API set parameter
'bRowHeaders' to true in the method addNewByName().
doing some slow progress in this issue.
removing the default line chart is probably done by specifying a string
range like (A1) before i was using a range A1:A1745 by using a range
A1 the black lines are now gone and only remains the blue chart which i
suppose is the candlestick chart . see
Hi,
I figured out the error i was making :
i had to replace service name com.sun.star.chart2.LabeledDataSequence with
com.sun.star.chart2.data.LabeledDataSequence
Now i can get some interesting results: i got the stock chart drawn; however
it seems that the x-axis values are not set properly
Still not able to get the code work .
please help !
code :
XEmbeddedObjectSupplier xEmbeddedObjSupplier =
(XEmbeddedObjectSupplier)
UnoRuntime.queryInterface(XEmbeddedObjectSupplier.class, xtablechart);
XInterface xInterface =
xEmbeddedObjSupplier.getEmbeddedObject();
Sorry, i hope you bare with me be patient answering my questions about the
chart2 API.
i wrote a java code to change the type of my chart from default LineType to
candlestick type.
However this code doesn't work with chart2 .but if i change to standar
com.sun.star.chart and use type
Hi Ingrid,
I wrote below java code to change chart type with chart2 API. However this
code doesn't work !
can you please look at it and tell me what I'm doing wrong ?
thanks.
othman
Code:
XMultiComponentFactory xMCF = null;
XEmbeddedObjectSupplier xEmbeddedObjSupplier
,
com.sun.star.chart.XYDiagram,
com.sun.star.chart.StockDiagram,
com.sun.star.chart.AreaDiagram
what are the corresponding charttype services for chart2 module ? i'm
specially interested in CandleStick Line chart type from chart2 module.
thanks for your patience further help.
othman
property ?
thanks.
Ingrid Halama wrote:
Hi othman,
othman wrote:
Hi Ingrid,
I wrote the below java code to insert a new chart from which i'll later
extract the XChartDocument instance.
the below java code works ok . however i noticed a couple of things :
1) i need to specify
.
othman
Ingrid Halama wrote:
Hi othman,
Again a warning about using ::com::sun::star::chart2 API: It is not
provided for external usage yet. It is an internal API that will change
further. When the API evolves your code will not work with future
versions. If you nevertheless want
Hi Ingrid,
Sorry i encountered a first problem .
in last email you said:
Ingrid Halama wrote:
Query your chart document for interface
com::sun::star::chart2::XChartDocument
Well I'm not sure how i can get an instance to chart document.
at the beginning there are no charts attached to
Hi,
i have a standard OHLC (candlestick) chart which could be drawn on OO
perfectly. OO could draw the OHLC chart but could not combine it with other
line charts in the same graph .
What i needed is a way to modify the OO code so that it could superimpose
charts with same coordinate system to
35 matches
Mail list logo