Hi All,
I am trying to do custom charts with plotly. The reason behind integrating the plotly is to take advantage of horizontal bar and line charts, dynamically color single bar based on conditions.
How does i get the 2nd y axis assigned, please advise me.
I am going to have PipelineName as X-axis and Process Time and Total Number of Process as Y axis
indent preformatted text by 4 spaces
var trace1 = {
x: x,
**y: ys,**
mode: bar,
marker: {
color: 'rgba(50,171,96,0.6)',
line: {
color: 'rgba(50,171,96,1.0)',
width: 1
}
};
var trace2 = {
x: x,
**y: ys,**
mode: 'lines+markers',
line: {shape: 'spline'},
};
var data = [trace1,trace2];
I am trying to do something like the below one https://plotly.com/javascript/horizontal-bar-charts/#bar-chart-with-line-plot
Thanks,
Vijayaraghavan Krishnan