Srinadh Karumuri
2004-02-26 16:31:50 UTC
First things first.
I am brand new to POI and it's a wonderful job you all did.
I am using an Excel file as template and using POI to modify my data and in
turn the chart. It worked perfect the first time.
Surprisingly the simple documentation on the POI web site was good enough
to achieve this task.
Now I was wondering if I could make this chart select the dynamic number of
rows. I tried the following and it didn't work:
1. Create Excel file and hide few rows at the end filled with '0' values.
Create a chart using non-hidden and hidden rows. Excel will show only the
visible data in the chart. Reset the values of hidden rows using POI. But,
was unable to make these rows visible from POI.
2. Create Excel file with data and chart. Insert rows in the middle of the
data using POI. But, excel does not extend the selection as this static.
3. Keep multiple charts as hidden sheets in Excel file. Delete the ones you
don't need and un hide the ones you want. This is not possible from POI
(either bugs waiting for 3.0 are lack of features).
Please do not consider this as criticism. I am just trying to find a solution.
Thank you,
Sri
I am brand new to POI and it's a wonderful job you all did.
I am using an Excel file as template and using POI to modify my data and in
turn the chart. It worked perfect the first time.
Surprisingly the simple documentation on the POI web site was good enough
to achieve this task.
Now I was wondering if I could make this chart select the dynamic number of
rows. I tried the following and it didn't work:
1. Create Excel file and hide few rows at the end filled with '0' values.
Create a chart using non-hidden and hidden rows. Excel will show only the
visible data in the chart. Reset the values of hidden rows using POI. But,
was unable to make these rows visible from POI.
2. Create Excel file with data and chart. Insert rows in the middle of the
data using POI. But, excel does not extend the selection as this static.
3. Keep multiple charts as hidden sheets in Excel file. Delete the ones you
don't need and un hide the ones you want. This is not possible from POI
(either bugs waiting for 3.0 are lack of features).
Please do not consider this as criticism. I am just trying to find a solution.
Thank you,
Sri