Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view

Hi All,

I have several issues or questions for cockpit pie chart:
1. Can we put percentage inside the circle?
2. How to fix overlap between series title and details? I've resized the pie chart and still overlap.
Appreciate your help. Thank you.
Kindly refer to below:

Regards,
Herman.

Environment Knowage CE 6.1.1, Windows Server2012 R2 , MySQL DB version 5.6, Google Chrome & Mozilla Firefox.
in Cockpit, Dashboard and Console by (1.1k points)

1 Answer

0 votes

Hi,

For title you can set alignment to be left, right or centered inside chart designer. 

For moving labels inside slices you need to edit file pie_chart.vm this on path in your  war of cockpit engine:

knowagecockpitengine\WEB-INF\classes\chart\templates\highcharts414

You need to search for line 467, and in dataLabels object to add this property:  

             distance: -60, 

(-60 is example. minus wiil set labels in slice)

by (3.3k points)

Hi Rselakov,
 

Thank you for your prompt reply.
May i know if below reference is correct? Appreciate your help.

Regards,
Herman.

Hi Herman,

Yes, it is correct...

Save file, restart your server and try.

Hi Rselakov,

It works. Thank you so much.

Regards,
Herman

...