Matthew-Weber / ReutersCharter

0 stars 0 forks source link

Set scatter circle radius with a getter? #2

Closed basilesimon closed 5 years ago

basilesimon commented 5 years ago

Currently the spec for setting the radius of <circle/> in the scatter template is:

I wonder if we could condense this into one expression, maybe with a getter function?

Matthew-Weber commented 5 years ago

Or possibly as an object? might be able to more explicitly label the optioning?

    rValue:{
        column:"columnName", //can set as "none"
        multiplier:int
    },
basilesimon commented 5 years ago

so... something like this?

rValue:{
    data: "columnName", // a column in your data OR an integer
    multiplier:int
},
basilesimon commented 5 years ago

Hey @Matthew-Weber, curious to know your thoughts on this :)

Matthew-Weber commented 5 years ago

I'm into it. It's on my list.

Matthew-Weber commented 5 years ago

This change is live.