pluto-y / ios-echarts Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
你好,谢谢你的分享,说个事,我点击图形时,出形的提示会弹跳两下,希望能改一下,对了,随道 问一下,你那是否还需要人力,如果要的话,我可以贡献我的热诚
你好,我按照你的方法,用cocoapod接入了,但是会有很多报错呢,不需要别的步骤吗
非常好用,希望继续维护和升级!!加油
在js 里echarts 2.0 是用Zrender插件的color.js ,在这里我要怎么让他渐变呢
1./Users/goodbaby/Documents/xcode_workspace/GBSmartManufacture_TC/Pods/Headers/Public/iOS-Echarts/PYEchartsView.h:73:40: No type or protocol named 'PY_WEB_DELEGATE'
2./Users/goodbaby/Documents/xcode_workspace/GBSmartManufacture_TC/Pods/Headers/Public/iOS-Echarts/PYEchartsView.h:73:28: Cannot find interface declaration for 'PY_WEB_VIEW', superclass of 'PYEchartsView'
3./Users/goodbaby/Documents/xcode_workspace/GBSmartManufacture_TC/Pods/Headers/Public/iOS-Echarts/PYEchartsView.h:77:31: Unknown type name 'PY_EDGE_INSET'
4./Users/goodbaby/Documents/xcode_workspace/GBSmartManufacture_TC/Pods/Headers/Public/iOS-Echarts/PYEchartsView.h:154:84: Unknown type name 'PY_IMAGE'
点折线图,标准折线图,就可以看到
/Users/xfjc/Desktop/WisdomClass/WisdomHomeWork/HomeWork/Resources/Libs/iOS-Echarts/Model/PYLoadingOption.h:38:40: Interface type 'PYLoadingOption' cannot be passed by value; did you forget * in 'PYLoadingOption'?
请问这个是什么问题?
比如interface type ”PYAxis“ cannot be passed by value;did you forget * in ”PYAxis“。
这类错误有100多个。。。
在折线图中,要表示无值的点,要传递什么?
我在做一个实时更新的折线图,数据是不断的添加的。在添加过程中会遇到某些点数据是无,但是仍然要在图中有所表示。
比如data:[11, 11, 15, , 30, 13, 10], 15和30之间少了一个值,最后图像在15和30间空出一个位置,并不做连线。
在iOS中,要传递什么值?我试了下[NSNull null],会导致bug,后面的数据全部变成不连线了。
1、我使用pods下载下来之后 ,里面没iOS-Echarts.h这个文件,#import "iOS-Echarts.h"之后找不到头文件;2、直接下载demo拷贝demo里面的iOS-charts这个文件(已经把js路径里的文件变成蓝色文件夹了),编译报错,错是PYColor交叉引用,但是并没有改动里面的东西。
以上问题期待优化,谢谢。
PYEchartsView上面的一排小按钮,通过哪些属性来控制呢?
缺少Echarts里关于柱状图中的柱状图的搭配时间轴的Demo,主要原因是没办法调用dataMap的方法。之后要想办法解决这个问题。
Hola! @F2EVarMan has created a ZenHub account for the Pluto-Y organization. ZenHub is the only project management tool integrated natively in GitHub – created specifically for fast-moving, software-driven teams.
To get set up with ZenHub, all you have to do is download the browser extension and log in with your GitHub account. Once you do, you’ll get access to ZenHub’s complete feature-set immediately.
ZenHub adds a series of enhancements directly inside the GitHub UI:
Still curious? See more ZenHub features or read user reviews. This issue was written by your friendly ZenHub bot, posted by request from @F2EVarMan.
我想实现的功能是点击面积图任意一点,跟他数据相关的控制器刷新数据!这个怎么实现呀 方便留一个联系方式吗
为什么上述三个控件会重叠在一起,可以解决这个问题吗?
series.data = @"(function () {var d = [];var len = 0;var now = new Date();var value;while (len++ < 150) {d.push([new Date(2014, 9, 1, 0, len*100),(Math.random()*30).toFixed(2) - 0,(Math.random()*100).toFixed(2) - 0]);}return d;})()";
这是不等距折线图的加载数据,这是demo给的方法,可是我做的是ios项目,我获得是(时间,数值)的数组,如何能把这个数据添加到图标中啊?这series.data 后面跟的js啊,我的数据是对象数组啊?怎么转换带入啊,不会啊,求解啊?最好能写个小demo给我看看,谢谢!
使用cocoapods加载的iOS-Echarts,发现在PYEchartsView.h里使用[NSBundle mainBundle]访问不到echarts.html,PYEchartsView.h里的代码如下:NSBundle *echartsBundle = [NSBundle mainBundle];NSString *urlString = [echartsBundle pathForResource:@"echarts" ofType:@"html"];
运行时发现urlString为空,不知道是我加载时错误还是少添加什么东西.
如题,线性折线图里支持添加多个折线,请问怎么添加第2个Y轴的显示
就是0在最外层 把100等大的值显示里面 越大显示越靠中心 如果取负值的话 可以有这效果但点击的提示也是负的
折线图,我如何获取我点击时的X的位置
折线图只有一组数据 点击之后 数据和y轴值都没了 怎么设置不可以点击或者说点击不消失
在饼状图中怎样设置每一块的指示线的大小和长度
使用 PYIntervalAll 结果x轴坐标只显示第一个项目的文本,
我试着把 PYIntervalAll = @"all";
改成 PYIntervalAll = @"0";
就可以显示全部项目了,是否是我哪里弄错了?
//error:can not found interface "PY_WEB_VIEW"
@interface PYEchartsView : PY_WEB_VIEW<PY_WEB_DELEGATE> {
PYOption *option;
}
//unknow type named "PY_EDGE_INSET"
@Property (nonatomic, assign) PY_EDGE_INSET padding;
界面刚出现时就只有一个cell中的表格显现出来了,其他的不显示,滑动使cell进入缓存池在下拉或返回再进入界面就会加载了,这是什么原因?
![qq20160825-1 2x](https://cloud.githubusercontent.com/assets/17806686/17959362/6e284b9e-6ad2-11e6-9d95-4e0fcc0ec930.png
[echart-demo.zip]%28https://github.com/Pluto-Y/iOS-Echarts/files/436325/echart-demo.zip%29)
支持3.0了吗?
下载项目默认什么都不动直接运行,图表是可以加载出来的,但是我在echarts-all.js文件添加了个alert弹框后,弹框和图表都不出来了,后来我删了alert的代码再运行项目图表还是不出来,后来我新建了个项目把把iOS-Echarts文件夹拉到新项目中,并删除了JS文件夹的引用,添加了create floder references引用,然后在故事板拉了个webview并将属性custom class修改为了PYChartsView,然后调用了Demo中K线图的 showCandlestickDemo1,loadEcharts方法结果图表也出来,是否我的布置缺少什么步骤?
初始化俩个PYZoomEchartsView,只显示第二个。。。
x轴的axisTick.insider = YES; 不起作用,而且颜色也无法设置。
我有一个图标,给的格式里面是没有网格的,现在好像默认都有网格,我把网格的borderColor 也不管用。
在需要的地方引入 iOS-Echarts.h 就可以了,可是我引入却报找不到该头文件,我是通过pod ‘iOS-Echarts’
安装的!!
把webview替换成wkwebview 页面很小需要双击放大
在同一个页面显示多个图表,第一次进入只显示一个,再次进入正常什么问题?
是echart的版本比较底的原因吗??现在用的是什么版本的呢?
我需要更新数据。于是我获取option,并添加数据。我选择的是折线图。
option.series[0].addData(@"20");
option.xAxis[0].addData(@"周一");//同时我也新增了x轴
最后我调用
[chartsView refreshEcharts];
什么都没改变。
但是如果我调用
[chartsView loadEcharts];
可以看到改变的效果。
但是这会刷新所有的数据。像这个https://segmentfault.com/q/1010000005054630 的问题一样。
请问刷新数据的正确姿势。
ps:js文件似乎很久没有更新了,是否需要更新?我在echarts官网上,发现不需要更新x轴,也可以达到添加数据的效果。(demo中,如果只添加数据,不添加x轴,则也不会更新)
如题!但是鼠标点击空白处移动的话 控制台会有坐标提示,js目录是通过create floder references方式添加的。求帮助
你好 我在使用echart的时候 生成json怎么快速处理呢
swift 导入会报各种错误,是什么问题 ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.