KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.
Forum's Guidelines

D3 chart legend and axis formatting #1135

Open Daniel Amamoo-Otchere opened this topic on on Oct 24, 2019 - 1 comments

Daniel Amamoo-Otchere commented on Oct 24, 2019

Hello Kool Team, great work with the integration of the D3 Charts, it is much smoother to me than the rest, How does one format the Legend so it shows well on the x-axis?

Is there anyway the legend is shown on top or on the right?

KoolReport commented on Oct 24, 2019

You can do:

LineChart::create(array(
    "options"=>array(
        "legend"=>array(
            "position"=>"right"
        )
    )
))

Build Your Excellent Data Report

Let KoolReport help you to make great reports. It's free & open-source released under MIT license.

Download KoolReport View demo
help needed

D3