GNOME Bugzilla – Bug 605771
joined plot areas
Last modified: 2010-01-06 18:49:56 UTC
Created attachment 150594 [details] sample file In this attached file I have an area plot with two plotareas (plotarea1 and plotarea2). Each of them has a series attached to it. I had expected that I could assign to them separate regions of the chart to obtain a graph as requested in bug 513137. Unfortuunately changing the plot area in plotarea1 also makes the corresponding changes in plotarea2. If one always need to specify the same plotarea, I think the plotarea tab should not appear when plotarea1 is sleected but at a higher level in the tree.
Each chart has only one plot area. You might try using two charts instead. I have no idea about how to attach the plot area tab to the chart instead of the plot (which would be logic).
Looking at the code, there is an editor build in gog-chart.c and one in gog-plot.c. Since the plotarea is chart (not plot) it should be constructed as part of the editor in gog-chart.c rather than gog-plot.c.
It is not that simple. When using the mouse, one of the plots will be selected. And my first attempts to change things make gnumeric quite unstable.
Created attachment 150672 [details] [review] patch I'm not found of this patch, it somehow violates the GogObject hierarchy model.
Emmanuel, what's your opinion about that?
I am not sure what you mean with that it violates the GogObject hierarchy model. The plotarea, despite its name, is a property of the Chart. All plots of the same chart share the same plotarea. In that case the editor is properly attached to the chart. I think the current implementation does not follow the hierachy but your patch does.
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.