Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dataset trans2 #13127

merged 2 commits into from Aug 14, 2020

Dataset trans2 #13127

merged 2 commits into from Aug 14, 2020


Copy link

@100pah 100pah commented Aug 14, 2020

Enhance data-transform:

  • rename parse to parser. (break from 5.0.0-alpha.1)
  • Make value comparable (in filter transform and sort transform) accurate and disambiguate in "numeric-like string" and other non-number types.
  • Add parser "number"
  • Add config "incomparable" to sort transform. The value can be 'min' or 'max', means that the value that not comparable will be trade as min value or max value.
  • Modify the definition of util/number.js#isNumeric a little (exclude '0x11' and include Infinity). (break but effect little).

test case:

  • test/data-transform.html
  • test/ut/spec/data/helper/dataValueHelper.js
  • test/ut/spec/util/number.js

@100pah 100pah merged commit 2b13045 into next Aug 14, 2020
Copy link

echarts-bot bot commented Aug 14, 2020

Congratulations! Your PR has been merged. Thanks for your contribution! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

Successfully merging this pull request may close these issues.

None yet

3 participants