getting the value at the origin

26 views
Skip to first unread message

Michael

unread,
Apr 19, 2012, 11:01:46 AM4/19/12
to Flot graphs
Hi,

I have just started using flot. It looks like a great piece of
software, thank you for all the hard work you put into it.

I have a question, I have also explained what I want to do in case I
am asking the wrong question:

I am trying to create a pareto chart.

I am trying to use 2 charts to do this.

The first chart is a bar chart, which will have distance per day.

The second will be a line graph which shows an accumulated distance of
the time period visible on the bar graph. I want to change this line
graph whenever the barchart changes.

On the line graph, I want to only use the data from the time period
which is visible in the bar chart, with the line always starting at
the origin.

Could anyone tell me, how I might get the value of the min and max
visible dates from my x axis, so that I will be able to process the
array which contains the second timeseries.

Thanks,
Michael

Michael Connors

unread,
Apr 19, 2012, 12:29:41 PM4/19/12
to Flot graphs
I think I have found my answer:

axes.xaxis.min.toFixed(2)

Reply all
Reply to author
Forward
0 new messages