You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2021/05/10 12:44:21 UTC

[GitHub] [echarts] Sprattel opened a new pull request #14907: group series and the user can specify format

Sprattel opened a new pull request #14907:
URL: https://github.com/apache/echarts/pull/14907


   <!-- Please fill in the following information to help us review your PR more efficiently. -->
   
   ## Brief Information
   
   This pull request is in the type of:
   
   - [ ] bug fixing
   - [x] new feature
   - [ ] others
   
   
   ### What does this PR do?
   You can specify the formatting and the series is grouped together i the DataView
   
   ## Details
   
   ### Before: What was the problem?
   The dateformat is in Unix time. The data is also split between series.
   ![Screenshot from 2021-05-10 12-45-21](https://user-images.githubusercontent.com/788131/117657391-c9e0d600-b199-11eb-99b0-fefedc8797e3.png)
   
   
   
   ### After: How is it fixed in this PR?
   You can specify the formatting and the series is grouped together.
   ![Screenshot from 2021-05-10 12-58-47](https://user-images.githubusercontent.com/788131/117657407-ccdbc680-b199-11eb-9518-d0f36f5df650.png)
   
   In this screenshot the formatter is looking like this. 
   ```javascript
   categoryAxisFormatter: function(value) {
     return new Date(value).toISOString();
   }
   
   ```
   
   ## Misc
   
   <!-- ADD RELATED ISSUE ID WHEN APPLICABLE -->
   
   - [x] The API has been changed (apache/echarts-doc#xxx).
   
   Added new option (`categoryAxisFormatter`) to `toolbox.feature.dataView`
   
   ### Related test cases or examples to use the new APIs
   
   `test/dataView-axisCategory.html`
   
   ## Others
   
   ### Merging options
   
   - [ ] Please squash the commits into a single one when merge.
   
   ### Other information
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] echarts-bot[bot] commented on pull request #14907: group series and the user can specify format

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on pull request #14907:
URL: https://github.com/apache/echarts/pull/14907#issuecomment-836652975


   Thanks for your contribution!
   The community will review it ASAP. In the meanwhile, please checkout [the coding standard](https://echarts.apache.org/en/coding-standard.html) and Wiki about [How to make a pull request](https://github.com/apache/echarts/wiki/How-to-make-a-pull-request).
   
   Document changes are required in this PR. Please also make a PR to [apache/echarts-doc](https://github.com/apache/echarts-doc) for document changes and update the issue id in the PR description. When the doc PR is merged, the maintainers will remove the `PR: awaiting doc` label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org