Skip to content

Commit

Permalink
Put X axis ticks at exact MHz values
Browse files Browse the repository at this point in the history
  • Loading branch information
argilo committed Oct 2, 2024
1 parent 84d3359 commit bf4e471
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions auto_rx/autorx/static/js/scan_chart.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ function setup_scan_chart(){
axis:{
x:{
tick:{
culling: {
max: window.innerWidth > 1100 ? 10 : 4
},
format: function (x) { return x.toFixed(3); }
values: [
400, 401, 402, 403, 404, 405, 406,
1676, 1678, 1680, 1682, 1684, 1686, 1688,
1690, 1692, 1694, 1696, 1698, 1700
],
outer: false
},
label:"Frequency (MHz)"
},
Expand Down

0 comments on commit bf4e471

Please sign in to comment.