Replies: 1 comment 1 reply
-
This SO response shows two ways to do it, although the code is in Vega-Lite but maybe you can get some inspiration from there. If you can control the frontend code where your chart is displayed, I'd recommend the second option with setting a height and then setting |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am looking for a way to scroll through 10,000 lines of free text, each text takes a line in the dataframe. The plan is to let another bar chart interact with this "text only" chart. When one bar is clicked, The text chart would populate texts about that category only.
So far I could only set a row_count limit <50. Without the scroll bar feature, the text is not readable and begin to squeeze into each other, if I don't set up line limit. The goal is to let all texts populate and readable.
Here is the screen between a limit<50 and limit <500 .
Here is a sample reference of the code I use.
create text chart
).transform_filter(
alt.datum.row_number < 500
).properties(
width=1000, height=alt.Step(10)
)
Any suggestions are appreciated , thank you.
Beta Was this translation helpful? Give feedback.
All reactions