Bug 139191 - charts with primary and secondary charts same main lines
Summary: charts with primary and secondary charts same main lines
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Chart (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Chart
  Show dependency treegraph
 
Reported: 2020-12-23 15:25 UTC by paulystefan
Modified: 2024-12-15 18:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
see difference in charts of uk and uk2 (719.05 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-12-23 15:25 UTC, paulystefan
Details
Minimal file describing the expected behavior (21.58 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-12-30 16:15 UTC, Leyan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paulystefan 2020-12-23 15:25:39 UTC
Created attachment 168455 [details]
see difference in charts of uk and uk2

charts with primary and secondary charts same main lines


primary and secondary have max value and the main intervals

But with two data lines, the count of the main values is not the same.

So there should be an Option of the count of the main interval.

example max of first data: 270 

automatic max: 280
automatic step: 40
than 0,40,80,...280
8 Lines

example max of second data: 100 

automatic max: 100
automatic step: 20
than 0,20,40,...100
six lines

With option same count of main value data then 

example max of first data: 270 

automatic max: 300
automatic step: 50
than 0,50,100,...300
7 Lines

example max of second data: 100 

automatic max: 120
automatic step: 20
than 0,20,40,...120
7 lines
Comment 1 paulystefan 2020-12-26 19:31:56 UTC
Graphs are more clear here instead of charts.
Comment 2 Leyan 2020-12-29 10:18:29 UTC
I don't understand which chart you refer to and which behavior you want to see, could you be more specific?
Comment 3 paulystefan 2020-12-30 15:08:25 UTC
The count of the main values of the first y-axle and the second axle should be the same, then the main lines are at the main values of both y-axles.
Comment 4 Leyan 2020-12-30 16:15:11 UTC
You mean that the automated configuration of the min/max/interval of the secondary axis should take care of having the same number of intervals displayed as the main axis and make the intervals match with the grid lines? This means that when trying to find automatically the best values to display, the number of intervals would be already fixed, only the min and max values have to be found. 

Seems like a valid feature request to me, even though it would make the secondary axis scale less "tight" in some cases. Do you agree with the expected behavior in the attached file?
Comment 5 Leyan 2020-12-30 16:15:57 UTC
Created attachment 168582 [details]
Minimal file describing the expected behavior
Comment 6 paulystefan 2020-12-31 03:14:55 UTC
Yes, I see here this feature.

It should be automatically calculated, but also with the possibility of its own count value in the options windows of the y-axes.

But the max value or the step size should also be corrected by hand like now.