x-axis - Interacting with the data point

41 views
Skip to first unread message

antunes

unread,
Feb 17, 2012, 6:55:50 AM2/17/12
to Flot graphs
I'm using this site as a reference: http://astro.unl.edu/naap/hr/animations/hrExplorer.html

I'm trying to draw the graph according to this link but i can't. I'm
trying to adapt this chart.

I managed to display the y-axis values (in power of 10) except that
the x-axis values still do not see this working out the code:
http://jsfiddle.net/2Xn9f/3/

Because the x-axis values should be x-axis= 40000, 20000, 10000, 5000,
2300

And I need to add a point "X" and as the slider handle the point
should move in x and y axis

Understand?

Can you help me?

Ryley Breiddal

unread,
Feb 17, 2012, 12:08:21 PM2/17/12
to flot-...@googlegroups.com
I answered this question on stackoverflow (I assume it's the same person):

http://stackoverflow.com/questions/9328007/interacting-with-the-data-point-flot/9332347

In summary,

Add some sliders and replot whenever then get slid, changing a second
data series that only has one point - the "cross" you want shown. I
took the cross symbol code directly from the flot API.txt.

Cheers,

Ryley

Reply all
Reply to author
Forward
0 new messages