scatter 0.1.0
PlotOptions.hpp
1/*
2 * Copyright (C) Tobias Löw (tobi.loew@protonmail.ch)
3 *
4 * This file is part of Scatter
5 *
6 * Scatter is free software: you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * Scatter is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with Scatter. If not, see <https://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#include <memory>
23#include <scatter/AxisOptions.hpp>
24#include <scatter/ColourScheme.hpp>
25#include <scatter/LegendOptions.hpp>
26#include <scatter/TextOptions.hpp>
27
28namespace scatter
29{
36 {
37 public:
43
48 virtual ~PlotOptions();
49
56
63
70
77
84
91
97 void setTitle(const std::string &title_text);
98
104 const std::string &getTitle() const;
105
112
119
126
127 private:
129 AxisOptions axis_;
130
132 LegendOptions legend_;
133
135 TextOptions title_;
136
138 std::string title_text_;
139
141 TextOptions text_;
142
144 std::shared_ptr<ColourScheme> colour_scheme_;
145 };
146
147} // namespace scatter
[brief description]
Definition AxisOptions.hpp:32
Definition ColourScheme.hpp:30
[brief description]
Definition LegendOptions.hpp:32
[brief description]
Definition PlotOptions.hpp:36
virtual ~PlotOptions()
[brief description]
TextOptions & getTextOptions()
[brief description]
const TextOptions & getTitleOptions() const
[brief description]
TextOptions & getTitleOptions()
[brief description]
const ColourScheme & getColourScheme() const
[brief description]
PlotOptions()
[brief description]
const TextOptions & getTextOptions() const
[brief description]
const std::string & getTitle() const
[brief description]
void setTitle(const std::string &title_text)
[brief description]
const AxisOptions & getAxisOptions() const
[brief description]
AxisOptions & getAxisOptions()
[brief description]
LegendOptions & getLegendOptions()
[brief description]
const LegendOptions & getLegendOptions() const
[brief description]
[brief description]
Definition TextOptions.hpp:32