Comments (16)
不懂你的问题所在,你是要问为什么加了alert之后不显示么?还有是图标还是图表?
from ios-echarts.
我的意思是项目源码不改动的情况下图表可以正常显示,但是稍微改一下代码或把项目添加到新建的项目里时,原本应该显示图表的地方,一片空白
from ios-echarts.
你的项目是含中文名的吗?
from ios-echarts.
刚看了下,项目和路径都没有包含中文
from ios-echarts.
能贴一下你的代码吗?
from ios-echarts.
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.
对了,漏说了一步,我将storyboard中的webview 指向控制器头文件的@Property (weak, nonatomic) IBOutlet PYEchartsView *chartView;属性
from ios-echarts.
理论上应该没有太大问题。正常流程就是这样子。你查看一下PYEchartsView
里面的initAll
里面的NSURL *url的执行结果是不是为nil,先确认一下这个。
from ios-echarts.
刚调试了一下,url只有值的
from ios-echarts.
那后台调试试着输出一下Option,看看。
from ios-echarts.
打印结果为<PYOption: 0x7fd2f1416c00>
from ios-echarts.
<PYOption: 0x7fd2f1416c00>\
from ios-echarts.
这样我就不是很清楚了,你整体步骤是没什么问题的。
from ios-echarts.
我试了一下是没有问题的,所以你要是实在没有解决的话,就在微博上联系我吧,我这里看看怎么帮你处理一下。
from ios-echarts.
好的,我再研究一下,不行再请教你
from ios-echarts.
好的。
from ios-echarts.
Related Issues (20)
- Echarts 4.0 您这边还更新吗
- 有没有4.0呢
- 手动导入报很多编译错误 HOT 3
- 怎么隐藏指示线呢?大神
- 柱状图颜色渐变通过什么设置? HOT 1
- WKweb 有闪退
- echarts rich富文本属性 该怎么设置
- 如何让Y轴的刻度自适应宽度呢?
- 怎么完全去掉UIWebView HOT 4
- Does iOS-Echarts support GL charts like Scatter GL, Line GL, Flow GL and Graph GL?
- 赶紧更新、赶紧更新、赶紧更新、急急急 HOT 6
- Does iOS-Echarts support heatmap on cartesian?
- barMinHeight设置没有效果
- iOS14 bate 无法显示图表
- 混合柱状图支持吗 HOT 1
- 请问还有人在维护吗?怎么实现PYTooltip像H5里鼠标滑动那种效果
- iOS开发,点击分支的事件回调!
- 可以更新吗,没办法通过机审
- iOS折线图中,只有点击小圆点的时候 才会触发click,如何在点击图表所有区域内添加点击回调事件,并获取到对应数据?急急急
- 请问可以绘制市级的地图吗?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios-echarts.