Hi Chad,

On Thu, Aug 20, 2015 at 12:21 AM, Chad Timmins <ctimm...@trulia.com> wrote:

> Is it possible to hide the graph legend?
>
Yes, you will need few thing to do.
One way to hide from CSS level but it not nice. Yes can improve the source.


>  If not currently possible, do I need to modify the zeppelin-web src code?
>
Here you can find UI rendering paragraph.html#L102
<https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/notebook/paragraph/paragraph.html#L102>
Have look on setD3Chart()
<https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js#L840>
function
xLabels = scatterData.xLabels[3]

try to added below
$scope.chart[type]..showLegend(false);


>  Lastly, could you point me to the right direction where in the source
> code I should be looking?
>
paragraph.controller.js#L884 [2]


[1]
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/notebook/paragraph/paragraph.html#L102
[2]
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js#L884
[3]
https://github.com/apache/incubator-zeppelin/blob/master/zeppelin-web/src/app/notebook/paragraph/paragraph.controller.js#L840

-- 
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com

Reply via email to