Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Tests/ArrayCoreTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ TEST(ArrayCore, configurator) {
auto config = dv::Config();
config.heatmap.xLabel = "Столбцы";
config.heatmap.yLabel = "Строки";
config.heatmap.zLabel = "Z";
config.heatmap.title = "Тестовая матрица";
config.heatmap.colorSc = dv::COLORSCALE_YlGnBu;
bool result1 = dv::show(values, "HeatMap", config);
Expand Down
1 change: 1 addition & 0 deletions array_core/configurator.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ struct commonSettings {
std::string title;
std::string xLabel;
std::string yLabel;
std::string zLabel;
double aspectRatioWidth; // use it for user scale if isFitPlotToWindow = false
double aspectRatioHeight;// use it for user scale if isFitPlotToWindow = false
bool isFitPlotToWindow; //true - plot fits to browser window, false - square plot
Expand Down
1 change: 1 addition & 0 deletions davis_one/davis.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1335,6 +1335,7 @@ bool createHtmlPageHeatmap(const std::vector<std::vector<double>>& values,
args[ARG_TITLE] = configuration.heatmap.title;
args[ARG_TITLE_X] = configuration.heatmap.xLabel;
args[ARG_TITLE_Y] = configuration.heatmap.yLabel;
args[ARG_TITLE_Z] = configuration.heatmap.zLabel;
args[ARG_ASPECT_RATIO_WIDTH] = dvs::toStringDotSeparator(configuration.heatmap.aspectRatioWidth);
args[ARG_ASPECT_RATIO_HEIGHT] = dvs::toStringDotSeparator(configuration.heatmap.aspectRatioHeight);
string paramWH;
Expand Down
1 change: 1 addition & 0 deletions davis_one/davis.h
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ struct commonSettings {
std::string title;
std::string xLabel;
std::string yLabel;
std::string zLabel;
double aspectRatioWidth; // use it for user scale if isFitPlotToWindow = false
double aspectRatioHeight;// use it for user scale if isFitPlotToWindow = false
bool isFitPlotToWindow; //true - plot fits to browser window, false - square plot
Expand Down
1 change: 1 addition & 0 deletions plotly_maker/plotly_maker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ bool createHtmlPageHeatmap(const std::vector<std::vector<double>>& values,
args[ARG_TITLE] = configuration.heatmap.title;
args[ARG_TITLE_X] = configuration.heatmap.xLabel;
args[ARG_TITLE_Y] = configuration.heatmap.yLabel;
args[ARG_TITLE_Z] = configuration.heatmap.zLabel;
args[ARG_ASPECT_RATIO_WIDTH] = dvs::toStringDotSeparator(configuration.heatmap.aspectRatioWidth);
args[ARG_ASPECT_RATIO_HEIGHT] = dvs::toStringDotSeparator(configuration.heatmap.aspectRatioHeight);
string paramWH;
Expand Down