Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Should scaled constants be embedded in the data #29
Because we can't currently add constants to a scale: https://github.com/trifacta/vega/issues/103
Then it would work the same way as reactive constants.
Scaled constants are useful for cases like this:
ggvis(mtcars, props(x ~ wt, y ~ mpg), mark_symbol(), branch_smooth(props(stroke = "lm"), method = lm), branch_smooth(props(stroke = "loess")) )