Conversation
|
I believe this will break a lot of other PR. But looks cleaner, and easier so I don't mind adapting my PR. |
|
@AppPear With this in the works, should people hold off on PRs? Do you want to open up issues to break up this change and get help implementing it? |
|
To participate in the new branch, how the best way to do it? |
|
Yes, please fork it and create a PR for the Thanks! |
|
ok, I'll try working on the PieChart, but no promises;(. |
|
Maybe we could create chat somewhere to coordinate. |
|
@AppPear I love the philosophy re: building the charts w/ the bare minimum and building upon it. One suggestion I have is writing unit tests to go along with committed code, rather than treating it as an afterthought. I'll take a peek at code coverage and see what I can unearth that's testable. |
- write unit tests for CGPoint+Extension.swift - clean up formatting on CGPoint+Extension.swift
|
Looking forward to this!! |
* Add ColorGradient example Add ColorGradient single color constructor Add preview for BarChart * Add PieChart Allow multi color for Pie and Bar Add linter
Thanks, I merged it! Only small issue was |
The extension file wasn't in my commit;( sorry. |
- Wrote tests - Possible minor bug where there's an alpha missing on 32-bit colors?
|
Hello, PS: |
I see, I tested it out again, and it seems, it's ok if it's deployed to device. Somehow on preview / simulator, it appears as blank. Weird. |
|
hey, is the v2 still being worked on or is this library not maintained anymore? |
Yes, currently I'm on organising a bigger help to maintain and take this lib to next level and release v2 as soon as possible |
|
@AppPear I'd like to join as a member. I currently have a candlestick chart working using the new-version branch on my machine. I'm interested in helping out. I like to chat about data structure for support of that type of chart and others. |
Can you please join the slack channel? |
|
@AppPear |
Thank for the answer. |
now it is possible to add background lines precisely as charts are displayed at correct size also rewrote basics to conform with Shapes and Animatable protocol
|
Hello! How's V2 going? Anything we can help? |
* feat: add linechart interaction point * feat: add ability to show current data point on linechart
* feat: new protocol for chained functions, and added support for explicit Y ranges. X coming as well * feat: add new axis interface (#253)
Co-authored-by: “Andras <“[email protected]”>
|
您好,我是潘倩萍,我已经收到您的邮件,如果有问题我会尽快联系您的;如果有急事,烦请电话联系我,谢谢!
|


The goal is to have a new more easily expandable codebase, setup with CI and test so PRs could be merged quicker and safer.
If you would like to help and participate in the new version you are very welcomed you can find project related tasks here or under the Issues with a
v2tagto submit your work please fork this repo and create a new branch from
new-versionbranch then update with your work and create a PR for thenew-versionbranch.If you work on a ticket please go to the project board and assign the ticket to yourself and move it to the in-progress column. If you are finished please assign the newly created PR to me and move your ticket to the ready-for-review column.
Join our Slack channel for day to day conversation and more insights:
slack invite link
New code proposal:
ChartViews
These chart views come with the bare minimum for a chart, so it can be easily built into custom user interfaces. We also build on them for the more complex chart widgets.
Data
xandyvalue.yvalue must be numeric (possibly floating point number)xcan be numeric or stringyvalues, 2)xandynumeric values 3) xstringandynumeric valuesBarchart:
Linechart:
Piechart:
Grid (not in beta 1)
barchartandlinechartCardview
xaxis values interactivelysmall,medium,largeChartData (beta 1 supports Chart init with [Double] only)
ChartData is an observable object so you can make state changes and it will be reflected now in the charts.
To initialise:
ChartData(_ data: [Double])and to make a state change: