ae3e-plotly-panel
ae3e-plotly-panel copied to clipboard
barmode seems to be ignored
Hello,
thank for this great plugin. I have an issue with the chart type bar. Event if barmode group is specified, the chart shows stacked bars. This is the script, which is used:
console.log(data)
var trace0 = {
x: [1,2,1,2],
y: [1,2,3,4],
color: [3,3,1,1],
type: 'bar'
};
var data = [trace0]
var layout = {
barmode: 'group',
xaxis: {
type: 'category',
autorange: true,
tickangle:90,
},
yaxis: {
autorange: true,
tickangle:0,
},
font: {
color: "darkgrey"
},
paper_bgcolor: "rgba(0,0,0,0)",
plot_bgcolor: "rgba(0,0,0,0)",
margin: {
t: 30,
b: 50
}
};
var config = {
displayModeBar: true
}
return {data:data,layout:layout,configuration:config};
It think it is not related to this plugin. You should check Plotly documentation and test your chart in a code playground with only Plotly.js library first.