added bar-chart-with-context bubbles templte - #397
Conversation
|
Don't forget the chart menu |
|
@henryjameslau I always do. have added now |
|
What's the difference between xAxisTitle and xAxisLabel? |
| .attr("fill", (d) => d.value >= 0 ? config.colourPalettePositive : config.colourPaletteNegative); | ||
|
|
||
| // Add context bubbles | ||
| const maxRadius = margin.bubble / 1.85; |
There was a problem hiding this comment.
Could we have a config parameter to change the relative scaled size of the bubbles?
X axis title goes at the top left |
So is their contents the same? |
|
Not necessarily like here: |
|
hmm, "Percentage" is the units. "Online spending as proportion of spend" is the label. You could use the title as both as the axis ticks have % in them already. Will someone please read the service manual
|
|
I meant you could do it as "Online spending as proportion of spend (%)" at the top since there's no % sign up there. But there's no reason why they couldn't be the same.
|
|
Yep. I guess just the rationale is because of the bubbles you may need additional text in that position as well as the bottom. It may or may not be the same. Is the main issue just labelling the config in a way that is clear? |
|
I wonder whether we need the axis on the top as well so it help you read it other you're scrolling down to the bottom. I get you're trying to do two different thing so you need to say what the range is doing vs the bubble. |

Added this chart type as it's been used in a a few releases now