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,
othman wrote:
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
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,
othman wrote:
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
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 othman,
othman wrote:
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
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
Hi,
othman wrote:
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
Hi Ingrid thanks for your patience further assistance on this thread.
you said previously that the default chart type is the bar chart. so i
suppose my chart type container object already holds the
com.sun.star.chart2.ColumnChartType.
However the below code throws an exception error :
code:
Hi,
othman wrote:
Hi Ingrid thanks for your patience further assistance on this thread.
you said previously that the default chart type is the bar chart. so i
suppose my chart type container object already holds the
com.sun.star.chart2.ColumnChartType.
However the below code throws an
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
Hi,
You didn't add any data series to the chart type so far, so there is
nothing to display. For the roles of the different data sequences for
the stock chart have a look here:
http://api.openoffice.org/docs/common/ref/com/sun/star/chart2/data/DataSequenceRole.html
Kind regards,
Ingrid
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 othman,
othman wrote:
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
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 =
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 a XCellRange and get the CellRangeAddress . for this i
used :
XCellRange myRange =
othman schrieb:
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 a XCellRange and get the CellRangeAddress . for this i
used :
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 a XCellRange and get the CellRangeAddress . for this i
Hi Ingrid,
thanks for the very useful links . thanks also to Daniels for providing
chart2 types.
for my Y axis i have double values; so i suppose i can handle the ranges for
y axis easily with properties Min, Max , StepMain via ChartAxis service.
however my x axis holds dates in the format
Hi othman,
Have a look at the developers guides:
Adding a chart to a spreadsheet is explained here including a java example:
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Charts/Creating_and_Adding_a_Chart_to_a_Spreadsheet
To get an existing chart within a sheet, look at the
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 to use the chart2 API on your own
risk
Hi Ingrid ,
Thanks for providing the steps to use chart2 API for combining two chartype
. I'll try implementing this method using the java UNO API .will get back to
you if i face any eventual issues implementing the below method .
Yes i'm aware of the risk using the unpublished chart2 API . our
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
27 matches
Mail list logo