fix issue 5267 - pick correct categories and values pluse a bit of optimization
fix issue 5267 - pick correct categories and values pluse a bit of optimization

etpinard/plotly.js,plotly/plotly.js,plotly/plotly.js,etpinard/plotly.js,plotly/plotly.js,etpinard/plotly.js,plotly/plotly.js