summaryrefslogtreecommitdiff
path: root/offapi
diff options
context:
space:
mode:
authorDennis Francis <dennis.francis@collabora.co.uk>2017-07-06 13:36:57 +0530
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-07-12 11:03:34 +0200
commitf7d3c18da48822b7105b93395aaa4406b87df23f (patch)
tree9e75f20d84baf0a44468a9a99b3fbde084d025c8 /offapi
parentd778119b867b67241b54fd7a9698c839e9bc00f5 (diff)
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/39620 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com> (cherry picked from commit 18909d45977a897cbd921d76d1dde4bf3a466271) Reviewed-on: https://gerrit.libreoffice.org/39799 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'offapi')
0 files changed, 0 insertions, 0 deletions