Skip to content

Commit

Permalink
Increase datapoint limit from 300 to 600
Browse files Browse the repository at this point in the history
  • Loading branch information
nokyan committed Nov 1, 2024
1 parent 31c7c40 commit 147b119
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/resources/ui/dialogs/settings_dialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
<property name="snap-to-ticks">true</property>
<property name="adjustment">
<object class="GtkAdjustment">
<property name="upper">300</property>
<property name="upper">600</property>
<property name="lower">10</property>
<property name="step-increment">1</property>
<property name="page-increment">10</property>
Expand Down
2 changes: 1 addition & 1 deletion src/ui/widgets/graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::f64;

use crate::utils::settings::SETTINGS;

const MAX_DATA_POINTS: u32 = 300;
const MAX_DATA_POINTS: u32 = 600;

mod imp {
use std::{
Expand Down

0 comments on commit 147b119

Please sign in to comment.