KoolReport's Forum

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

Rotate annotation values in google charts #454

Open mohammed opened this topic on on Sep 10, 2018 - 3 comments

mohammed commented on Sep 10, 2018

i want to rotate values for annotations in google charts because it overlapped as shown in image:

then i need code to rotate the annotation values. the code used is: "columns" => array(

                "month_db" => array("label" => "Months"),
                "Retail_Budget" => array(
                    "type" => "number",
                    "label" => "Budget",
                    "prefix" => "",
                    "annotation" => function($row) {
                        return "" . milion($row["Retail_Budget"]);
                    }
                ),
KoolReport commented on Sep 10, 2018

Hi Mohammed,

It seems Google Chart has no options to turn the annotation text vertically right now.

Regards,

mohammed commented on Sep 10, 2018

ok, how can i solve overlapping??

KoolReport commented on Sep 10, 2018

I am really sorry that do not have solution at this moment yet. I will keep you update on this matter.

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
None yet

None