Hi Axel,

I think the repo you are pointing out is outdated and is not useful
for the current Apache Zeppelin (incubating) codebase.

That being said, there is an engineer here on the list, Madhuka (in
CC) who is working on adding more charts to Zeppelin i.e
https://issues.apache.org/jira/browse/ZEPPELIN-157

AFIAK recently he has been experimenting with GCharts, so I wonder if
he can chime in and help you here.

Hope this helps!

--
Kind regards,
Alex

On Thu, Jul 16, 2015 at 12:47 PM, Axel Dahl <a...@whisperstream.com> wrote:
> Hi,
>
> I was trying to integrate google charts
> (https://developers.google.com/chart/) into zeppelin.
>
> From %pyspark I was hoping I could just do:
>
> print """%html
>
>    <!--Load the AJAX API-->
>     <script type="text/javascript"
> src="https://www.google.com/jsapi";></script>
>     <script type="text/javascript">
>
>       // Load the Visualization API and the piechart package.
>       google.load('visualization', '1.0', {'packages':['corechart']});
>
>       // Set a callback to run when the Google Visualization API is loaded.
>       google.setOnLoadCallback(drawChart);
>
> .
>
> .
>
> .
>
> """
>
> But when I do that and run the paragraph, zeppelin just gives me a blank
> white screen and appears to lose the web socket connection.  I also found
> moon's chart repo here: https://github.com/NFLabs/zeppelin-gchart.  But not
> sure how it integrates into the existing code base.  Has anyone else
> achieved a gcharts integration or does anyone else know why I get the blank
> screen and how to avoid it?
>
>
> Thanks,
>
>
> -Axel



-- 
--
Kind regards,
Alexander.

Reply via email to