KoolReport's Forum

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

Add text beside indicator (Card) #1577

Closed stacy opened this topic on on Aug 19, 2020 - 2 comments

stacy commented on Aug 19, 2020

Hi, Is there a way to add extra text beside the the indictor ? Eg instead of show x% on the indicator, i would like to show as x% vs last month. Thanks in advance.

KoolReport commented on Aug 19, 2020

It seems not possible for current settings. However, there are two options:

  1. We do setup a property called indicatorTitle with which you can set a text to show when the mouse is over the indicator. May be by hovering the indicator and you can show the text like "Compared to last month" is enough.
  2. If you really want to make exactly your requirement. It is possible too but requires a little tweak on the component. You can access the koolreport/core/src/widgets/koolphp/Card.tpl.php. There, instead of showing the indicatorTitle inside html property "title", you move it outside to let it show on the card.
stacy commented on Aug 19, 2020

Thank you so much, it work!

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

None