Here's some example code for a very simple chart that demonstrates the issue. Perhaps I'm leaving something out in the configuration?
Plotly Data
[
{
"name": "Issue Count Start",
"x": [1,2,3],
"y": [10, 15,20],
"type": "bar",
"hovertemplate": "<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>",
"marker": {
"color": "#E9AB11"
}
},
{
"name": "Issue Count End",
"barmode": "group",
"x": [1,2,3],
"y": [0.50,0.16,0.18],
"yaxis": "y2",
"type": "bar",
"hovertemplate": "<b>%{x}</b><br>%{fullData.name}: %{y}<extra></extra>",
"marker": {
"color": "#D47E2F"
}
}
]
Plotly Layout
{
"title": {
"text": "Example Chart"
},
"xaxis": {
"type": "-",
"tickformat": "",
"gridcolor": "#fff",
"zerolinecolor": "#fff"
},
"yaxis": {
"title": {
"text": "",
"standoff": 6,
"font": {
"size": 12
}
},
"type": "linear",
"tickformat": "",
"zerolinecolor": "#DEDEDE"
},
"yaxis2": {
"title": {
"text": "",
"standoff": 6,
"font": {
"size": 12
}
},
"side": "right",
"overlaying": "y",
"type": "linear",
"tickformat": "",
"zerolinecolor": "#DEDEDE"
}
}
Do note that if I change the type from bar
to scatter
this seems to work? A pity that it doesn't work with bar charts though...
