Pregunta

Dojo Chart by default places the legend at the bottom of the chart. I would like to place the legend at the top of the chart right under the chart title, above the actual chart.

Can anyone share some code on how to do that?

No hay solución correcta

Otros consejos

UPDATE 1

Hi there! After fiddleing arrauon with a chart, the Title and it's Legend i would say, easiest way to put the Legend between the Title and the Chart is not to use the Title from the chart itself, but to write the title seperatly into a div like:

<div id="ChartTitel" style="font-family:Arial;font-size:15pt;color:orange;width:100%;
border-bottom:4px double blue; padding-bottom:4px; margin:0px;text-
align:center">Production</div>

Here's the fiddel with the whole code: http://jsfiddle.net/mbgvL/

Regards

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top