Welcome to Knowage Q&A, where you can ask questions and receive answers from other members of the community.
0 votes
1 view
HighCharts can show a dataLabel on heatmap (see http://jsfiddle.net/sbochan/zwy3vhts/6/).

In cockpit there are no options for show dataLabel. When I try to add this options in knowagecockpitengine\WEB-INF\classes\chart\templates\highcharts414\heatmap_chart.vm nothing happens.
Environment Knowage CE 6.1
in Cockpit, Dashboard and Console by (2.8k points)

1 Answer

+1 vote
 
Best answer

Thanks for your question. 

If you want to enable datalabels, you need to add:

              dataLabels: {

                              enabled: true,

                              color: "black",

              }, 

in file treemap.js on path 

knowagecockpitengine\js\src\angular_1.4\chart\treemap\treemap.js 

around line 998 (between  data:points, and events: {....................)

For now, we do not have that option inside designer, we will add it in the future.

by (3.3k points)
selected by
Thank you! It works fine!
...