python - Toggling between 2 graphs in HTML/Javascript -


hello wondering if there way toggle between 2 graphs(pygal graphs) i'm creating in python , passing through flask jinja template. have graph weekly information , monthly information , want (not button) sort of thing click show 1 @ time. i'd appreciate input.

it depends lot on how webpage designed. have think if user understand if don't put button or relates in obvious way change.

sometimes design think obvious if end user doesn't understand it, it's of no use.

if in page have more data showing information week or month, maybe it's better put button filters month/week. 1 tiny 1 :)

if send picture template can try give ideas.


Comments

Popular posts from this blog

android - Gradle sync Error:Configuration with name 'default' not found -

java - Andrioid studio start fail: Fatal error initializing 'null' -

html - jQuery UI Sortable - Remove placeholder after item is dropped -