I am using Flotr2 to create a bar chart (Horizontal = true). The problem is that the axes do not interchange because of which the bar chart does not make any sense. For example, in the below code, I expect the countries name in Y-axis and the values to be on X-axis. (Opposite of a bar chart (horizontal = false).
Hi all,
I am using Flotr2 to create a bar chart (Horizontal = true). The problem is that the axes do not interchange because of which the bar chart does not make any sense. For example, in the below code, I expect the countries name in Y-axis and the values to be on X-axis. (Opposite of a bar chart (horizontal = false).
Am I missing any options ?
Below is my code. Please suggest :
function createBar(container, legend) {