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
2 changes: 1 addition & 1 deletion console_backend/src/advanced_imu_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ impl AdvancedImuTab {
let mut point_val_idx = tab_points.reborrow().init(idx as u32, NUM_POINTS as u32);
for (idx, point) in points.enumerate() {
let mut point_val = point_val_idx.reborrow().get(idx as u32);
point_val.set_x(idx as f64);
point_val.set_x((NUM_POINTS - idx) as f64);
point_val.set_y(*point);
}
}
Expand Down
2 changes: 1 addition & 1 deletion console_backend/src/advanced_magnetometer_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ impl AdvancedMagnetometerTab {
let mut point_val_idx = tab_points.reborrow().init(idx as u32, NUM_POINTS as u32);
for (idx, point) in points.enumerate() {
let mut point_val = point_val_idx.reborrow().get(idx as u32);
point_val.set_x(idx as f64);
point_val.set_x((NUM_POINTS - idx) as f64);
point_val.set_y(*point);
}
}
Expand Down
1 change: 1 addition & 0 deletions resources/AdvancedTabComponents/AdvancedImuTab.qml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Item {
labelFormat: "%d"
min: Constants.advancedImu.xAxisMin
max: Constants.advancedImu.xAxisMax
reverse: true
}

SwiftValueAxis {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ Item {
tickInterval: Constants.advancedMagnetometer.xAxisTickCount
tickType: ValueAxis.TicksDynamic
labelFormat: "%d"
reverse: true
}

SwiftValueAxis {
Expand Down