zhuhuihuihui / echart Goto Github PK
View Code? Open in Web Editor NEWiOS/iPhone/iPad Chart, Graph. Event handling and animation supported.
License: Apache License 2.0
iOS/iPhone/iPad Chart, Graph. Event handling and animation supported.
License: Apache License 2.0
the datasource method highestValueEColumnChart:
is getting called an unknown number of times upon each reloadData.
if the highestValue is required, it should be called once during the reloading data, because the max number should be painstakingly calculated on datasources and each data reload usually means concrete data and the max won't change.
I think we should keep the max value between data reads and use it when required, instead of calling highestValueEColumnChart
every time it is needed (probably for drawing Y-Axis labels)
Is posible x label and y label in line chart?
For Example if value of bar is 10000 then it shows biggest.
if second bar value is 5000 then it shows half of the first one and so on.
The total value can be changed by user? How is it possible in this api?
For example, if the data number is 10, then there is a long line at the end of the line chat.
Tried to use with auto layout. But, graph is not scaling according to screen changes.
Does anyone have any idea how to make it scale?
Hi,
I want to use Json to prepare data for chart.
but it seems that it does not work with Json .
Does it support Json? If yes, How can I draw chart with json?
Its possible to move left and move right in 5 columns
Really nice framework, working on adding it to my app. Though i stumbled onto a problem, a feature request. I want the left lines only to stick to whole values.
For example my app has a graph of how many correct answer a user has gotten per day over last week. Does not make sense to have 13.1 answers, 15.4 answers as the labels for the lines. It would be great if the lines could stick to whole values.
蜡烛图(K线图)y轴坐标在坐标轴内显示不能调整垂直方向的距离,直接覆盖在了分割线
Using the EColumnChart is there a way that I could set a certain color for different Bars. when I create the array for the data on one day I would like a certain color and another day a different color. Other than the High and Low column colors.
Thank you for a great control.
which is showing how many charts, and i have 30 charts in screen so the 30 labels looks ugly, where to remove these labels of chart.
Will the column chart can display a negative value?
moveRight seems to be working just fine. But moveLeft does not do anything.
I am using a pod file to add EColumnChart, my entry is as below :
platform :ios, '7.0'
pod 'EChart'
I want to change the x axis value from 0,2.. to Jan Feb.... How to do that ?.
eColumnChartLabel.text = [[NSString stringWithFormat:@"%d ", valueGap * (horizontalLabelsCount - i)] stringByAppendingString:[_dataSource highestValueEColumnChart:self].unit];;
[self addSubview:eColumnChartLabel];
app will crash in line 141
test issues
If i set the limit of 10000. The bar should be displayed its value according to value set.
Can it be possible in this EChart?
这个还是很好的一个代码的
Hi,
It's an amazing control and I will make sure to use it in my upcoming app.
I wish there was a way to format vertical axis values, you see, my values are NSTimeIntervals and I don't want to show them as seconds. Something like Hours would be more appropriate.
If there was a way to format the given values that would be awesome (somethings like a NSFormatter).
checkout this wonderful tutorial
And while we are at Y-Axis, that would be better if the developer could specify how many delimiters he/she wants to display parallel to x-axis.
Thanks again
Hi there,
I need to implement minValue and maxValue in the Echart from arrays.
I need your help to do this, I'm scrapping through your code and I can't find where I can do that.
Also I need to reload the data. I'm creating values for days in a specific month, so after I change the month I need to apply the correspond data.
Thanks for all.
Pedro C. Santos
Hi again,
I was wondering why setting normalColumnColor
for the chart view has no effect on their appearance and then I reviewed your code and I noticed that normalColumnColor
is completely bypassed by EGrey
!
My solution:
eColumn.barColor = _normalColumnColor?_normalColumnColor:EGrey;
in the reloadData
Hi I want too to have different colour bars in my chart, when i implement this method it makes every bar the same colour, I'm not why this isn't working correctly? :
-(UIColor *)colorForEColumn:(EColumn *)eColumn {
if (eColumn.eColumnDataModel.index < 1) { return [UIColor purpleColor]; } else { return [UIColor redColor]; }
}
I am also getting "Important!! DataSource Not Set!" in the log, but I've implement all the datasource methods, so not sure if this has anything to do with the above problem.
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.