Fix issues with pie-of-pie and bar-of-pie in node.js
Line drawing code relies on getClientBoundingRect() method to
compute coords and sizes of chart objects. Node uses jsdom for
browser emulation, which implements this method as a placeholder
which returns object with zero fields. To achieve proper coords
calculation, values are saved during object generation and then
they are reused for line drawing.
Showing
Please
register
or
sign in
to comment