Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Second y-axis with no series attached has different auto-scaling than the first y-axis | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | General | Reporter: | bjoern.milcke | ||||||||
Component: | chart | Assignee: | kla <thomas.klarhoefer> | ||||||||
Status: | CLOSED FIXED | QA Contact: | issues@graphics <issues> | ||||||||
Severity: | Trivial | ||||||||||
Priority: | P3 | CC: | IngridvdM, issues, weizhao | ||||||||
Version: | 3.3.0 or older (OOo) | Keywords: | regression | ||||||||
Target Milestone: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | All | ||||||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||||||
Developer Difficulty: | --- | ||||||||||
Issue Depends on: | |||||||||||
Issue Blocks: | 72764 | ||||||||||
Attachments: |
|
Description
bjoern.milcke
2007-08-09 10:59:22 UTC
Just remembered also this automatism: If all series are attached to the 2nd y-axis and there is an auto-property at the first y-axis, this must also just take the value from the 2nd one. And I suppose the automatisms only affect min, max and auto. Because if you scale a second y-axis to max==1000, where auto was 10, you don't want to have the major interval from the other axis when it is on auto. changed target due to limited resources changed target due to limited resources Created attachment 55162 [details]
patch_080717
@iha: The patch for this issue is submitted. Please let me know your suggestions. Thanks! @weiz, please try to avoid the additional parameter xDiagram as it confuses the interface. One option without interface change would be to change the method VCoordinateSystem::prepareScaleAutomatismForDimensionAndIndex. When no data is available fMin and fMax will be NAN. @iha: The new patch is finished, please let me know your suggestions. Thank you very much! Created attachment 55431 [details]
patch_080729
@weiz: Could you also implement the other scenario as described by Björn? When the first axes has set explicit values the second axes should take that explicit values as long as the according values at the second axes are set to automatic and no series are attached to the second axes. Thanks! Created attachment 56338 [details]
patch_080909
@iha: The new patch is submitted, hope I didn't miss anything. :-) Please let me know your suggestions. Thanks. Fixed in CWS chart30. @weiz, thanks for the patch! I replaced the new method getExplicitScaleAndIncrementState() by a new method getScale() which is simpler to understand and allows access to the same information. Further I copied Orientation and Scaling from the source scale to the target scale to behave like OOo 2.2 in this case. I also replaced ChartTypeHelper::allSeriesAttachedToSameAxis with a search about all series. Searching only the first chart type seems wrong to me. And I added a check to not set a minimum>maximum. The other parts are fine. @KLA, please verify in CWS chart30. Seen ok in CWS chart30 -> verified Seen ok in current master -> closed *** Issue 100656 has been marked as a duplicate of this issue. *** |