GithubHelp home page GithubHelp logo

Comments (16)

Pluto-Y avatar Pluto-Y commented on June 11, 2024

不懂你的问题所在,你是要问为什么加了alert之后不显示么?还有是图标还是图表?

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

我的意思是项目源码不改动的情况下图表可以正常显示,但是稍微改一下代码或把项目添加到新建的项目里时,原本应该显示图表的地方,一片空白

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

你的项目是含中文名的吗?

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

刚看了下,项目和路径都没有包含中文

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

能贴一下你的代码吗?

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

1,我复制到iOS-Echarts,RMMapper两个文件夹到新项目
2,我在新项目中向storyboard拉了个webview并修改custom class为PYEchartsView
3,JS添加create floder references
4,在头文件引用了"PYEchartsView.h","RMMapper.h","PYOption.h","PYAxis.h","PYLegend.h""PYCartesianSeries.h"
4,复制了DEMO中的K线图的showCandlestickDemo1
5,在viewDidLoad中调用[self showCandlestickDemo1];
[_chartView loadEcharts];不知是否有错漏操作

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

对了,漏说了一步,我将storyboard中的webview 指向控制器头文件的@Property (weak, nonatomic) IBOutlet PYEchartsView *chartView;属性

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

理论上应该没有太大问题。正常流程就是这样子。你查看一下PYEchartsView里面的initAll里面的NSURL *url的执行结果是不是为nil,先确认一下这个。

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

刚调试了一下,url只有值的

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

那后台调试试着输出一下Option,看看。

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

打印结果为<PYOption: 0x7fd2f1416c00>

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

<PYOption: 0x7fd2f1416c00>\

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

这样我就不是很清楚了,你整体步骤是没什么问题的。

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

我试了一下是没有问题的,所以你要是实在没有解决的话,就在微博上联系我吧,我这里看看怎么帮你处理一下。

from ios-echarts.

netPeople110 avatar netPeople110 commented on June 11, 2024

好的,我再研究一下,不行再请教你

from ios-echarts.

Pluto-Y avatar Pluto-Y commented on June 11, 2024

好的。

from ios-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.