# Difference between revisions of "Google style chart - interactive"

From JSXGraph Wiki

Jump to navigationJump to searchA WASSERMANN (talk | contribs) |
A WASSERMANN (talk | contribs) |
||

Line 25: | Line 25: | ||

); | ); | ||

points.push(p); | points.push(p); | ||

+ | x.push(x1); | ||

+ | y.push(y1); | ||

p.rendNode._num = i; // memorize the number of this point in the array | p.rendNode._num = i; // memorize the number of this point in the array | ||

Line 34: | Line 36: | ||

brd.update(); | brd.update(); | ||

}; | }; | ||

− | |||

− | |||

− | |||

} | } | ||

// Filled area. We need two additional points [start,0] and [end,0] | // Filled area. We need two additional points [start,0] and [end,0] |