ChartsOrg / ChartsOrg/Charts

Format the Y-axis scale values anxious anxious anxious

Open
#4,515 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

4.0 latest version of Charts
Question: This chart is a MPAndroidChart ported to Android.
MPAndroidChart has a method
public String getFormattedValue(float value, AxisBase axis) {}
This can get the automatically generated Y-axis scale value, and then it is very convenient to solve the scale formatting (for example: 20000.22 converted into 2.2万)
Is there a similar method for Charts in iOS?
Thanks, very anxious

4.0最新版本的Charts
问题:这个charts是移植的那个安卓的,MPAndroidChart这个三方,
MPAndroidChart有方法public String getFormattedValue(float value, AxisBase axis) {}
可以拿到自动生成的Y轴的刻度值,然后很方便的解决刻度格式化(例如:20000.22转成2.2万)
iOS 的Charts有类似方法吗?
谢谢,很着急

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.