Hi guys, I would like all x-axis ticsk displaying the date, currently every 2nd bar is showing date as shown in the figure below:
‘’’
fig_data_usage = px.bar(unit_df, x=‘DATE’, y=‘KILOBYTES’)
fig_data_usage = go.Figure(data=[go.Bar(
x=date,
y=daily_usage,
text=daily_usage,
textposition='auto',
hovertemplate ='%{y}<extra></extra>',
)])
# Style Barchart
fig_data_usage.update_traces(
marker_color=color.BLUE,
marker_line_color=color.NAVY_BLUE,
marker_line_width=1.5,
opacity=0.6
)
# Style Title
fig_data_usage.update_layout(
# title_text='Unit Upload File Size',
title='<b>Daily Data Usage</b>',
xaxis_tickformat = '%d %b',
yaxis_ticksuffix=' kB',
**get_title_stlye()
)
‘’’