diff --git a/finance.py b/finance.py index 2296048..16d47df 100755 --- a/finance.py +++ b/finance.py @@ -250,7 +250,7 @@ def change_time_period(selectedData): [Input('table_selector', 'value')]) def update_point_chart(selected_dropdown_value): selected_stock_in_table_df = fullTableDf.xs(selected_dropdown_value, axis=1, level=1) - figure = px.scatter(selected_stock_in_table_df, x='Volume', y='Dividends', template='plotly_dark') + figure = px.scatter(selected_stock_in_table_df, x='Dividends', y='Close', template='plotly_dark') return figure if __name__ == '__main__':