Code Monkey home page Code Monkey logo

echart's People

Contributors

zhuhuihuihui avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

echart's Issues

highestValueEColumnChart:eChart is getting called too many times

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)

Line chart

Is posible x label and y label in line chart?

Can't use with auto layout

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?

Use Json to draw chart

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?

Not possible to set that left axis should stick to whole integers

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.

Set color for an individual bar

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.

Chart does not move left

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'

EColumnChart will crash when _data count is 0

eColumnChartLabel.text = [[NSString stringWithFormat:@"%d ", valueGap * (horizontalLabelsCount - i)] stringByAppendingString:[_dataSource highestValueEColumnChart:self].unit];;
[self addSubview:eColumnChartLabel];

app will crash in line 141

Vertical Axis value formatter

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

Need to implement minValue and maxValue in EChart

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

NormalColumnColor is bypassed

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

Cant Set Individual Bar Column Colors

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.

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.