Skip to content

Commit

Permalink
Fix rendering bug on 3D field for stepped data
Browse files Browse the repository at this point in the history
  • Loading branch information
jwbonner committed Feb 1, 2025
1 parent 93145e6 commit 73e92df
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/shared/renderers/LineGraphRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,7 @@ export default class LineGraphRenderer implements TabRenderer {
context.beginPath();
context.moveTo(graphLeft + graphWidth, yScaler.calculate(field.values[field.values.length - 1]));
let i = field.values.length - 1;
let iterCount = 0;
while (iterCount++ < 100) {
while (true) {
let x = xScaler.calculate(field.timestamps[i]);

// Render start of current data point
Expand Down

0 comments on commit 73e92df

Please sign in to comment.