Dynamic axis formatting / scale?
See original GitHub issueHi,
I’m trying to build a stacked area chart, that reacts on a signal for toggling between absolute and normalized values. The absolute values are in a currency domain and the normalized ones are percentages.
Is there any way to set an axis’ format
and scale
properties from a signal?
Issue Analytics
- State:
- Created 8 years ago
- Reactions:3
- Comments:8 (4 by maintainers)
Top Results From Across the Web
How to Dynamically Change Axis Measures and Formats in ...
Learn how to create a parameter changes axis measures and formatting by swapping different sheets with different metrics.
Read more >Dynamic axis scale - Tableau Community
Is there a way to dynamically change the scale(logarithmic, reversed, ... Dynamic Axis Labels/Formatting/Tooltips for Measure Selector.
Read more >Dynamic Axis Labels - Tip Week - The Data School
Dynamic Axis Labels - Tip Week ... this tip is how to change your axis label to show the measure name, rather than...
Read more >Bokeh Dynamic Axis Scaling - Stack Overflow
Everything else is just formatting the data, setting the lines to visible or not and the callback function. Is there a way to...
Read more >Dynamic Chart Y-Axis Formatting | MrExcel Message Board
Dynamic Chart Y-Axis Formatting ... I just made a simple test chart and went format, scale, and selected currency, £ this worked fine...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi everyone, this issue is a holdout from Vega 2, and has been partially addressed in Vega 3.
format
property.scale
property. Information about the specific scale (in particular, its type) is used within the Vega parser to determine the appropriate output. However, there is flexibility around which data fields are used to parameterize a scale – so you can get dynamic axes by changing the underlying scale instead. For an example, see https://vega.github.io/vega/examples/scatter-plot-null-values/As we do not currently intend to make changes here, I’m closing out the issue.
@jazzido Also remember to relocate the
scale
references inmarks
fromenter
toupdate
if you want them to be dynamic.