Change-Id: Ia2732cc041367bc113654bc424ea6621f3961e9f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/211724 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
39 lines
1.4 KiB
C++
39 lines
1.4 KiB
C++
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4; fill-column: 100 -*- */
|
|
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <DataInterpreter.hxx>
|
|
|
|
namespace chart
|
|
{
|
|
/** Reads a flat list of columns as a feature table followed by two dimension
|
|
columns: the last two columns become the dimensions, shared by every series,
|
|
and each column before them becomes the feature column of one series.
|
|
*/
|
|
class CorrelationCircleDataInterpreter : public DataInterpreter
|
|
{
|
|
public:
|
|
explicit CorrelationCircleDataInterpreter();
|
|
virtual ~CorrelationCircleDataInterpreter() override;
|
|
|
|
protected:
|
|
// ____ DataInterpreter ____
|
|
virtual InterpretedData interpretDataSource(
|
|
const css::uno::Reference<css::chart2::data::XDataSource>& xSource,
|
|
const css::uno::Sequence<css::beans::PropertyValue>& aArguments,
|
|
const std::vector<rtl::Reference<::chart::DataSeries>>& aSeriesToReUse) override;
|
|
virtual InterpretedData reinterpretDataSeries(const InterpretedData& aInterpretedData) override;
|
|
virtual bool isDataCompatible(const InterpretedData& aInterpretedData) override;
|
|
};
|
|
|
|
} // namespace chart
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|