KoolReport's Forum

Official Support Area, Q&As, Discussions, Suggestions and Bug reports.

Hide Value in ChartCard #1546

Closed Keith Burke opened this topic on on Jul 30 - 2 comments

Keith Burke commented on Jul 30

Is there any way of hiding the Value in the top left of the ChartCard? I just want to see the graph, nothing else.

I've tried the following [as in GaugeCard] but it didn't work.

"showValue" => false,
KoolReport commented on Jul 31

You may use css to disable:

Cover the chart you want with a div like this:

<div class="hide-top-left-text">
<?php ChartChard::create(....); ?>
</div>

and then add following css to report:

<style>
div.hide-top-left-text h4 {
    display:none;
}
div.hide-top-left-text p {
    display:none;
}
</style>
Keith Burke commented on Jul 31

Fantastic. Just for others, it was only the value I wanted to hide, not the title. So I used just the H4 tag. thanks again.

<style>
div.hide-top-left-text h4 {
    display:none;
}
</style>

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
solved

Amazing Theme