GNOME Bugzilla – Bug 695829
Legend does not display color scale in PlotColorPolar
Last modified: 2013-05-03 15:32:24 UTC
Created attachment 238851 [details] .png image to illustrate the problem See attached image as an example.
I started working on the missing color scale issue, but it is a bit more involved than I initially thought. I hoped I could use an axis, but the current implementation makes that just a nightmare, so I need to rewrite much code. By the way, the color scale will be a standalone object inside the chart, but not related to the legend.
OK, it is good that the color scale will be a standalone object not related to the legend.
You can now add a color scale to the chart. Might be buggy though. This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.
Good work. A few comments: - why adding a new object ColorScale instead of using the ColorAxis object? This would be more consistent with the other type of axes. - it is currently not possible to add a title to the Axis.
The position/size of the color scale has a diffeent logic than the axes. I actually tried to use an axis, made some changes in the API, but it rappidly became a nightmare. Adding a title (or several titles) is quite possible, just open a new enhancement request.