summaryrefslogtreecommitdiff
path: root/chart2/source/model/template/DataInterpreter.hxx
diff options
context:
space:
mode:
authorAritz Erkiaga <aerkiaga3@gmail.com>2021-03-25 09:25:27 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-05-21 09:55:36 +0200
commitc8598f28db8ef5ab5f695cf1af645bb43dbc264d (patch)
tree6cbd9328749473089ec4f8eeefe5e0737049b048 /chart2/source/model/template/DataInterpreter.hxx
parent9431984f8d39a4d7fb9428138ecc6971c212c122 (diff)
tdf#138556 Don’t add Open Values to stock chart types 1 and 3
A new function was defined, XdataInterpreter::getChartTypeSpecificData. Being 100% chart-type-agnostic when retrieving chart data is impossible; candlestick charts can have different numbers of sequences per series, and this information is not present in any other chart type. Change-Id: I0f54b09202c42667331b083d54d90e4ceee81083 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113075 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/model/template/DataInterpreter.hxx')
-rw-r--r--chart2/source/model/template/DataInterpreter.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/chart2/source/model/template/DataInterpreter.hxx b/chart2/source/model/template/DataInterpreter.hxx
index 8294f5ca4c9c..5f9a9239202f 100644
--- a/chart2/source/model/template/DataInterpreter.hxx
+++ b/chart2/source/model/template/DataInterpreter.hxx
@@ -68,6 +68,8 @@ protected:
const css::chart2::InterpretedData& aInterpretedData ) override;
virtual css::uno::Reference< css::chart2::data::XDataSource > SAL_CALL mergeInterpretedData(
const css::chart2::InterpretedData& aInterpretedData ) override;
+ virtual css::uno::Any SAL_CALL getChartTypeSpecificData(
+ const OUString& sKey ) override;
};
} // namespace chart