BEMSimpleLineGraph
BEMSimpleLineGraph copied to clipboard
Multiple lines (series) support
Are multiple lines (aka series) currently supported? Thanks!
Hi @mcsquaredjr, Multiple lines are currently not supported. This is something that will be implemented later on. As far as I know no one is working on this feature yet.
Thanks for getting back to me so quickly. I would be a great addition.
@mcsquaredjr @Boris-Em I am working on the multiple lines feature. It will be quite a while before this feature is ready though. Odds are it will be implemented on the überfeature branch before it is implemented anywhere else.
Any update on this?
This feature will probably be implemented on the feature branch first. I invite you to take a look at the project's roadmap for more information.
Hi, i don't want to open a separate issue for that, so i am asking right here. I think the topic fits.
I want to display multiple lines as well and was asking myself if it is possible to simply take two UIViews with the same origin and size and set the bottom and top background color to 0 alpha. I did just that in Interface Builder and it works. My only problem is, as both graphs share one datasource and delegate, how do i make sure to return the correct data for the individual graph? At the Moment the data seems to be corrupt in some way. Currently i am trying to do it that way:
@interface ViewController () <BEMSimpleLineGraphDataSource, BEMSimpleLineGraphDelegate>
@property (weak, nonatomic) IBOutlet BEMSimpleLineGraphView *myGraph;
@end
@implementation ViewController
- (CGFloat)lineGraph:(BEMSimpleLineGraphView *)graph valueForPointAtIndex:(NSInteger)index
{
if ([graph isEqual:myGraph]) {
return [[altitudeArray objectAtIndex:index] floatValue];
}
return 0.f;
}
@end
I made a pull-request of multiline code. which is not a complete implementation, and has some limitation.
Multiple lines support #102, #103 #108
hi is there any progress on multi-line plot ?
Hi All, Is there any update on multi lines support??
Hello,I need multi line supporting,any update on the feature? Thanks
Hi, I'm also hoping for multiple line support. Love this but need to show two lines (and maybe a line of averages). I have no idea how to do this or I'd love to contribute it.
I really need multiline support on this.
I really need multiline support on this.