Giter Club home page Giter Club logo

Comments (10)

kener avatar kener commented on May 1, 2024

@erik168 支持 :)

from echarts.

zhousheng193 avatar zhousheng193 commented on May 1, 2024

好久了啊,这个问题到底能不能解决哦

from echarts.

kener avatar kener commented on May 1, 2024

没dojo经验,但官网来看,dojo的loader也是AMD规范的,所以不用引入echarts带的esl,不用硬编码改,直接用dojo的require和define试试

from echarts.

kener avatar kener commented on May 1, 2024

http://dojotoolkit.org/reference-guide/1.9/loader/amd.html#loader-amd

from echarts.

kener avatar kener commented on May 1, 2024

script标签式引入
http://echarts.baidu.com/doc/doc.html#引入ECharts3

from echarts.

HogwartsRico avatar HogwartsRico commented on May 1, 2024

echarts的init直接就和dojo的init冲突了,由于是iframe window,不能去掉dojo,现在无法使用了。
error

from echarts.

beyondlh avatar beyondlh commented on May 1, 2024

打算在同一个项目中使用Dojo和ECharts,网上搜到了这个页面。不知道楼主的问题是个性的还是共性的,是否还是存在。我打算自己试验一下,看是否同时使用会有问题。

from echarts.

Fanwenjie avatar Fanwenjie commented on May 1, 2024

HogwartsRico 那个问题好像不关EC事,是服务器没配好吧?是你的跨域请求Ajax头没设置好哦,可以看看:http://huaidan.org/archives/2729.html

beyondlh 那个问题其实楼主已经解答了,主要是require库冲突,不要用 ECharts 的esl就可以了

from echarts.

beyondlh avatar beyondlh commented on May 1, 2024

没有用ECharts的esl,直接在Dojo的require中的packages配置,但是有问题。还是暂时在标签中引入js文件这种方式吧。补充一下,RequireJS中的define和require目前和Dojo的不兼容,StackOverflow上有说明。所以用Dojo的同学还是放弃在ECharts中使用AMD加载吧。

from echarts.

 avatar commented on May 1, 2024

我同时引入Arcgis JS API和Echart,jquery UI冲突,解决方案是确保jquery ui和echart 在 Arcgis JS API的dojo加载之前就已经加载完毕,我把Jquery UI和echart放在中,然后arcgis放在结尾

from echarts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.