Hello everybody!
I'm developing some graph with JSXGraph, I think it's very awesome!
But now, I'm getting some trouble.
I need to highlight all the intersection points of my "functiongraph" curve with the x-axis.
With "intersection" Element I could get and see only one intersection point, then I tried to use both "otherIntersection" element to draw all the others, but I'm always getting this errorError:
JSXGraph: Can't create 'other intersection point' with parent types 'object', 'object'and 'object'.
Possible parent types: [circle|line,circle|line,point]
I'm getting this beacuse on what I understood I can draw "otherIntersection" only between two lines, two circles or a line and a circle.
This is the code:
var intersection = board.create('intersection', [xaxis, graph, 1], {withLabel: false});
var otherIntersection = board.create('otherintersection', [xaxis, graph, intersection], {withLabel: false});
Now, how can I draw all the intersection points between my functiongraph curve and the x-axis?
Important:
The functiongraph curve is dynamic, so I can variate the coefficients to let the curve change its x-axis intersection points.
Thank you so much in advance,
I hope you will help me soon.
Bye
Nick