tdf#108921 : Enforce a minimum legend size for pivot charts...
...proportional to the chart size. This lets a default pivot chart maintain its current size even when there are no data points which may result from a pivot field filter operation. Tried to add a test, but could not with a reasonable amount of effort. Some observations I made when tried to create a unit test: 1. If a new chart is created using uno api fresh from a pivot table, no legend is created irrespective of whether there is data or not. 2. Pivot charts with zero data points work fine with this patch, but on round trip the chart needs to be explicitly refreshed by clicking one of the pivot table's field selectors to make the chart show axis/labels etc. Change-Id: I010ca9093ce94dc216ba06e9d7aedaa412e59401 Reviewed-on: https://gerrit.libreoffice.org/39620Tested-by:Jenkins <ci@libreoffice.org> Reviewed-by:
Tomaž Vajngerl <quikee@gmail.com> Tested-by:
Tomaž Vajngerl <quikee@gmail.com>
Showing
Please
register
or
sign in
to comment