Hi there
I am trying to create a bar chart only for the row which I have in table. They are YYYYMM (see attached). But it looks like it plots for the range which I don’t want. How can I only plot for row values.
This is code I have
dcc.Graph(
id='Ecommerce Conversion rate ',
figure={
'data':[
{'x':dt['YYYYMM'],'y':dt['E Conversion%'],'type':'bar','name':'Website A'},
{'x':dt['YYYYMM'],'y':dt['Overall ECR%'],'type':'bar','name':'Website B'}
],
'layout':{
'title':'Ecommerce Conversion rate',
'xaxis': {
'tickmode' : 'array',
'tickvals': dt['YYYYMM'],
'ticktext': dt['YYYYMM']
}
}
}
)
])
Thanks
Nitesh