Topic: mdb-simple-chart spacing

Jan Louw pro asked 6 years ago


Hi, Is it possible to reduce the spacing between the minimalistic chart and the header text in the examples? Regards Jan

Damian Gemza staff commented 6 years ago

Dear Louw, Could you please describe your question using more words? What exactly do you want to achieve? Please provide me some informations. Best Regards, Damian

Jan Louw pro commented 6 years ago

Dear Damian, I'm referring to the following example code for small charts : <mdb-simple-chart percent="85" barColor="ef1e25" trackColor="f2f2f2" scaleColor="303030" scaleLength="1" lineCap="round" lineWidth="5" trackWidth="10" size="110" rotate="0" [animate]="{duration: 1000, enabled: true}"> </mdb-simple-chart><h5><span class="badge green">Sales <i class="fa fa-arrow-circle-up"></i></span></h5> I would like the text (h5 tag) to be position closer to the chart object. Regards

Damian Gemza staff commented 6 years ago

Dear Louw, You have to add some margin-top with negative value, for example: margin-top: -25px to h5 element. Best Regards, Damian

Jan Louw pro commented 6 years ago

Thanks Damian.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags