Replies: 3 comments 1 reply
-
You cannot dynamically change scale types in Vega. You could map a parameter of a scale (like the exponent parameter) to a parameter/signal, though. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is there an easy way to move it to a feature request?
For report generation I'm willing to just double the number of charts. But
for interactive use, keeping things tight within a single page and
responding to requests is preferred.
Thanks,
Jim
…On Tue, Oct 18, 2022 at 10:30 PM Dominik Moritz ***@***.***> wrote:
That's not possible in Vega. You could map a parameter of a scale (like
the exponent parameter) to a parameter/signal, though.
—
Reply to this email directly, view it on GitHub
<#8502 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4LRFFBF2WUCSSKETDKSKLWD6BQ7ANCNFSM6AAAAAARIRUOW4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Thanks. I would have thought that the continuous/discrete scale selection
was affected by datum type not scaling function? I'll look into filing a
Vega feature request.
Your quick and informative responses are much appreciated.
…On Wed, Oct 19, 2022 at 6:18 AM Dominik Moritz ***@***.***> wrote:
It may have been requested before. The problem is that we cannot switch
between continuous and discrete scales at all so it would be tricky to
implement this feature. You can file a new request in Vega, though.
—
Reply to this email directly, view it on GitHub
<#8502 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC4LRFDZOBQHLD3DLNC4KSLWD7YIZANCNFSM6AAAAAARIRUOW4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to be able to control the scale type [linear, log, etc] on many of my graphs. Unfortunately, I can't seem to find a way to map an interactive parameter value into the scale type encoding. I frequently deal with data sets with wide dynamic ranges. Being able to selectively use different combinations of scalings on the x and y axis is helpful for identifying underlying relationships.
Yes, I could just use a linear scale and perform a log transform before plotting. That is the hack I currently employ but then the user must mentally convert the values displayed along the axis into original unscaled values. It is marginally acceptable for color scales. But a poor user experience for x and y.
Here is an example of what I'd like to achieve (although this example is non-functional): Open the Chart in the Vega Editor
Thanks,
Jim
Beta Was this translation helpful? Give feedback.
All reactions