Choosing columns from query to Populate a bar chart

Hello!

I´ve got a table populated with 4 columns as follow:
image

I want to choose column 2 (NUMERO DE PETICIONES) to be the height of the Bar and column 4 (DESCRIPCION) to be the name of the bar.

How can I archieve this???

Try changing the query column order to,

SELECT
    DESCRIPCION,
    NUMERO DE PETICIONES,
    etc.,
1 Like

Thanks, I changed the query order as you suggest, now I binding that table data to the dataSources.example prop of the BarChart but can´t see the labels of the first column

xAxes.0.render : category
?

1 Like



image

so many options
like this?

no data appear on the bars