Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

In my dash app im generating 2 pie charts in 2 spereate div elements to style them and position them next to each other. The problem now is that im not having the hoverinfo while hovering over the pie chart. also im not getting the menu (shown in the image) to download the chart as a png, etc.

enter image description here

The code in my layout looks like this

  app.layout = html.Div([

    html.H1(id="Titel", style={'textAlign':'center'}),
    
    html.Div([
        
        html.Div([dcc.Graph(id="graph-assetklassen", figure=fig)], style={"float":"left", "width":"50%", "height":"auto"}),
        
        html.Div([dcc.Graph(id="graph-ratingklassen", figure=fig2)], style={"float":"right", "width":"50%", "height":"auto"}),
        
    ]),
])

Any Idea how to handle this? Thank you

question from:https://stackoverflow.com/questions/65936777/hoverinfo-graph-menu-not-available-when-styling-dcc-graphs-object

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
182 views
Welcome To Ask or Share your Answers For Others

1 Answer

Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...