Skip to content

Commit 6bc8534

Browse files
committed
colorbar
1 parent 6d2f563 commit 6bc8534

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

davis_one/davis.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,9 @@ mode: 'markers',
480480
481481
marker: {
482482
size: 10,
483-
color:[%4]
483+
color:[%4],
484+
colorbar:{},
485+
colorscale: ''
484486
}
485487
};
486488
var data = [trace];

gui/davis_gui.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ bool DavisGUI::checkDateTimeVariant(const QStringList& lines) {
694694
if (lines.size() != values.size()) {
695695
return false;
696696
}
697-
if (force.empty()==false) {
697+
if (force.empty() == false) {
698698
dvs::showCloudOfPointsChartStr(dates.toStdString(), values, force);
699699
return true;
700700
}
@@ -918,7 +918,8 @@ void DavisGUI::visualizeFiles(const QStringList& file_list) {
918918
QString line;
919919
QStringList str_lines;
920920
while (ts.readLineInto(&line)) {
921-
if(line.isEmpty())continue;
921+
if (line.isEmpty())
922+
continue;
922923
str_lines.append(line);
923924
}
924925
if (str_lines.empty()) {

plotly_maker/html_parts.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,9 @@ mode: 'markers',
448448
449449
marker: {
450450
size: 10,
451-
color:[%4]
451+
color:[%4],
452+
colorbar:{},
453+
colorscale: ''
452454
}
453455
};
454456
var data = [trace];

0 commit comments

Comments
 (0)