无法在gwt中使用带有3d highcharts的Highmap

时间:2016-01-08 13:15:14

标签: gwt highcharts highmaps

我想将Highmaps与3d highcharts一起使用,但我得到了以下异常

    com.google.gwt.core.client.JavaScriptException: (TypeError) @com.google.gwt.core.client.impl.Impl::apply(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)([JavaScript object(12317), JavaScript object(12316), JavaScript object(12578)]):

 d.align is undefined
        at com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java:249)
        at com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:136)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
        at com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java:284)
        at com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java:91)
        at com.google.gwt.core.client.impl.Impl.apply(Impl.java)
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:356)
        at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103)
        at com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71)
        at com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java:172)
        at com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java:293)
        at com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:547)
        at com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
        at java.lang.Thread.run(Unknown Source)

我想在左侧显示地图,在右侧显示三维饼图但是如何解决这个问题?有人可以帮我解决问题。我试过了

Resolve Conflict When Using Highchart and Highmap together (TypeError: ma is not a function)但它不起作用..

我的HTML文件包含以下脚本::

<script type="text/javascript" src="js/jquery/jquery-1.11.0.min.js"></script>
        <script type="text/javascript" src="js/highsoft/highcharts.js"></script>
    <script type="text/javascript" src="js/highsoft/highcharts-3d.js"></script> 
    <script type="text/javascript" src="js/highsoft/drilldown.js"></script> 
    <script type="text/javascript" src="js/highsoft/highcharts-more.js">/script>
    <script type="text/javascript" src="js/highsoft/data.src.js"></script>
    <script type="text/javascript" src="js/highsoft/map.js"></script>
    <script type="text/javascript" src="js/highsoft/recaptcha_ajax.js"></script>

0 个答案:

没有答案