• Дмитрий Никулин's avatar
    Fix issues with pie-of-pie and bar-of-pie in node.js · f5f578b9
    Дмитрий Никулин authored
    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.
    f5f578b9