1#ifndef PLOTLY_PLOTLY_HPP
2#define PLOTLY_PLOTLY_HPP
18#include <nlohmann/json.hpp>
27using Array = std::vector<Object>;
51 std::unique_ptr<Impl> _pimpl;
57 Figure(
const std::filesystem::path &webappPath =
58 std::filesystem::path(PLOTLY_CPP_WEBAPP_PATH));
78 [[nodiscard]]
auto isOpen() const ->
bool;
144 auto
purge() ->
bool;
259 auto
on(const std::
string &event,
260 const std::function<
void(
plotly::
Object)> &callback) ->
bool;
281 int remoteDebuggingPort = 9222) ->
bool;
Application Binary Interface compatibility macros for plotly.cpp.
#define PLOTLY_EXPORT
Definition abi_macros.hpp:19
C++ bindings for Plotly.
Definition logger.hpp:7
std::vector< Object > Array
Definition plotly.hpp:27
nlohmann::json Object
Definition plotly.hpp:26