Skip to content

Commit

Permalink
Feature: Support transmitting plot pen interval
Browse files Browse the repository at this point in the history
For line and scatter plots, this actually does nothing.  But, for bar
charts, it is used to determine the width of the bars.
  • Loading branch information
TheBizzle committed Jan 6, 2024
1 parent 159a61b commit 1d51256
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions js/serialize/furl/protobuf/state-update.js
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ const penColorFields =
};

const penModeFields =
{ penName: "string"
, mode: "string"
{ penName: "string"
, interval: "uint32"
, mode: "string"
};

const plotUpsFields = { value: ["PlotUpdate", true] };
Expand All @@ -344,8 +345,9 @@ const plotFields =
};

const penFields =
{ name: "string"
, color: "uint32"
{ name: "string"
, color: "uint32"
, interval: "uint32"
// Begin jiggery optimizations
, "color-r": "uint32"
, "color-g": "uint32"
Expand Down

0 comments on commit 1d51256

Please sign in to comment.