cleanflight / blackbox-log-viewer

Interactive log viewer for flight logs recorded with blackbox
GNU General Public License v3.0
85 stars 43 forks source link

Allow user to select graph line thickness #16

Closed hydra closed 7 years ago

hydra commented 9 years ago

With the laptop in the field on a sunny day i find it very hard to see the lines. Thicker lines would help.

thenickdude commented 9 years ago

Until a configuration dialog for this is added, I've added a PLOT_LINE_WIDTH constant so you can tune it manually in the source:

https://github.com/cleanflight/blackbox-log-viewer/blob/master/js/grapher.js#L19

timdonovanuk commented 8 years ago

Changing this constant doesn't seem to do anything for me. Have tried values 0.5, 0.9, 5, 50, 100.

timdonovanuk commented 8 years ago

It seems whatever value you put in the constant its immediately overwritten on line 665 with plotLineWidth: Math.max(1.25, canvas.height / 400)

If you want to make the line thicker edit line 444, canvasContext.lineWidth = yourvalue

McGiverGim commented 7 years ago

This was done long time ago. I close the issue.