swift-linechart icon indicating copy to clipboard operation
swift-linechart copied to clipboard

How to adjust the scale of the y-axis?

Open sphericalwave opened this issue 6 years ago • 4 comments

Hi, thanks for making this framework. Wondering if there is a way to adjust the scaling of the y-axis. I believe i read in the documentation that the linechart automatically handles scaling the height of the y-axis but that doesn't seem to be the case as can be seen in the attached screenshot. In the image below there are about the first value is at coordinates (x=0, y=17) which makes sense if each line of the grid is 10 units.

Any advice?

Thank you.

screen shot 2018-08-15 at 11 06 27 am

sphericalwave avatar Aug 15 '18 14:08 sphericalwave

Did you have any progress with the y-axis scale? Facing the same issue right now. Thanks

liganerd avatar Oct 04 '18 00:10 liganerd

Not yet. =(

On Wed, Oct 3, 2018 at 9:14 PM Liga Nerd [email protected] wrote:

Did you have any progress with the y-axis scale? Facing the same issue right now. Thanks

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zemirco/swift-linechart/issues/51#issuecomment-426844278, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlWIaDjNinAP16jJQCvW6Od9nxUS1JRks5uhVLggaJpZM4V-KoJ .

sphericalwave avatar Oct 04 '18 12:10 sphericalwave

Dear friend, I found it last night. You should go to line 104 and 105 on linechart.swift ^^

liganerd avatar Oct 05 '18 01:10 liganerd

Wow, thanks for that!

Aaron

On Oct 4, 2018, at 10:50 PM, Liga Nerd [email protected] wrote:

Dear friend, I found it last night. You should go to line 104 and 105 on linechart.swift ^^

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zemirco/swift-linechart/issues/51#issuecomment-427222192, or mute the thread https://github.com/notifications/unsubscribe-auth/AAlWIW633El6mDtccb2JPABYNtWG5ZD3ks5uhrrmgaJpZM4V-KoJ.

sphericalwave avatar Oct 05 '18 13:10 sphericalwave