Apache OpenOffice (AOO) Bugzilla – Issue 64752
filled net chart (filled radar)
Last modified: 2013-02-24 21:18:50 UTC
I would like set background color to each fields in radar chart.
if you mean a pie chart this is possible: simply double click the pie, select Area from the tabs at the top and choose your background color (Fill->Color).
Created attachment 36036 [details] Radar chart example
I mean radar chart like this : http://www.openoffice.org/nonav/issues/showattachment.cgi/36036/radar_chart.png In this example, I can't set fields backgrounds.
you cannot set the background color for each field (=quarter?) as far as I can see, true, only for the whole background this is possible. I confirm the issue.
@Iha: maybe a good idea.
I assume that you mean a filled net chart, similar to the area chart type. Yes that is a missing charttype.
Created attachment 36046 [details] example for a filled net chart
*** Issue 72665 has been marked as a duplicate of this issue. ***
reset to new
@weiz, please implement the additional chart type 'filled net chart'.
@weiz, the ODF file format specifies that the string 'filled-radar' needs to be used to classify this chart type. Search in module xmloff for 'radar' to find the relevant places where this is implemented for the not filled net chart already.
For this chart type it will be necessary to change the z-oder of axis lines and series - the axis line should be displayed above the series. The z-order of the shapes is influenced by their creation order - new shapes are created on top. It is also possible to change the order later but that is not the principle used during chart view creation. Look at the method VCoordinateSystem::initPlottingTargets. Here are two group shapes created m_xLogicTargetForGrids and m_xLogicTargetForAxes. The group shape for the grids is created first. This ensures that all the grid lines are behind the axis lines. What we need now is a third group xLogicTargetForSeries that is created between the grid and axis group shape. This new group then could be returned by method initPlottingTargets and then be used instead of xCoordinateRegionTarget as input for pSeriesPlotter->initPlotter( xSeriesTarget, ...) within ChartView.cxx.
Created attachment 62389 [details] patch_20090520
@iha, the patch is submitted, please let me know your suggestions. :-) Thank you!
@weiz, thanks a lot for the patch! :-) I will look at it next week. Have a nice weekend!
@weiz, the patch looks good already! :-) Only in xmloff the token string must be 'filled-radar' and not 'filled_radar'. This is important as it is specified within the ODF fileformat. At other places I will rename 'radar' to 'net', as we use 'net' in the user interface and within the UNO API already for the other net-sub-types. For further details see my mail. I will ask Stella for new icons. I take over to make the necessary changes within the specifications and coordinate with QA in which CWS to fix this best. Thanks a lot again!
I added the new type to the wizard specification: http://specs.openoffice.org/chart/wizards/ChartWizard.odt Furthermore the data label positions needed a change. They should be placed 'outer'. Specification is also updated: http://specs.openoffice.org/chart/ChartDataLabels.odt
I found that while saving to ODF the chart:class attribute is 'chart:filled-radar' only at the element <chart:chart> but still is 'chart:radar' at the <chart:series>. This is wrong. To fix that I created a new chart type service '"com.sun.star.chart2.FilledNetChartType" separated from service "com.sun.star.chart2.NetChartType".
Fixed in CWS fillednetchart. Filter will be implemented with issue 102677.
@Thomas, please verify in CWS fillednetchart.
Created attachment 64204 [details] Testcasespec for Filled Net Chart
verified
Seen ok in current master -> closed