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 2020/09/21 17:26:16 UTC
[GitHub] [incubator-echarts] ngmgit opened a new issue #13322: Series (bar) - type: 'time' - entriy width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
ngmgit opened a new issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322
### Version
4.9.0
### Reproduction link
[https://codesandbox.io/s/gifted-bhaskara-eoesy?file=/src/transform.js](https://codesandbox.io/s/gifted-bhaskara-eoesy?file=/src/transform.js)
### Steps to reproduce
* setup a time series bar chart
* Set maxInterval to 1 hr bucket i.e 60 * 60 * 1000
* Set min and max values to the end and start of the day for the given bucket.
Even though this looks like what should be done to get a graph for a day divided into hour buckets and set the values to fill up the graph. Note that its not necessary that all the values for the series are set.
### What is expected?
To show the bar with width taking up only the maxInterval and the graph x-axis should start with 00 value and end with 00 values with 1 hr buckets.
This should also work even when the entries are not adjacent.
### What is actually happening?
Shows the buckets starting and ending wrong and the zoom in always becomes glitchy. The entries are taking up 2 hr interval width. This happens when the values are not adjacent.
---
As per the attached minimal reproduction link. The values in the MOCK_DATA has value which doenst have any adjacent value while the one in ADJANCE_BUCKET_MOCK_DATA has entries for 15:00 and 16:00 which are adjacent.
<!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
<!-- This issue is in English. DO NOT REMOVE -->
----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #13322: Series (bar) - type: 'time' - entriy width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-696257377
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
Have a nice day! 🍵
----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-705942172
@ngmgit Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://gallery.echartsjs.com/editor.html.
----------------------------------------------------------------
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] [incubator-echarts] ngmgit commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-712863884
@Ovilia Here is a simple working code https://jsfiddle.net/yj05rt9f/
----------------------------------------------------------------
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] [incubator-echarts] Ovilia commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-705942138
@ngmgit Can you provide a simpler demo containing only a simple option for us to reproduce?
----------------------------------------------------------------
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] [incubator-echarts] ngmgit edited a comment on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit edited a comment on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-698760867
----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-705942172
@ngmgit Please provide a demo for the issue either with https://codepen.io/Ovilia/pen/dyYWXWM or https://gallery.echartsjs.com/editor.html.
----------------------------------------------------------------
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] [incubator-echarts] ngmgit edited a comment on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit edited a comment on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-698760867
UPDATE: updated the config to fix inconsistency in time. This codebsanbox link has the changes, https://codesandbox.io/s/dry-wildflower-79suq?file=/src/App.js
```
xAxis: {
scale: false,
}
```
This takes care of making sure the graph doesnt get scaled in anyway and min max values are applied and displayed properly.
----------------------------------------------------------------
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] [incubator-echarts] Ovilia commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-705942138
@ngmgit Can you provide a simpler demo containing only a simple option for us to reproduce?
----------------------------------------------------------------
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] [incubator-echarts] ngmgit commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-698760867
UPDATE: updated the config to fix inconsistency in time. This codebsanbox link has the changes, https://codesandbox.io/s/dry-wildflower-79suq?file=/src/App.js
----------------------------------------------------------------
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] [incubator-echarts] ngmgit edited a comment on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit edited a comment on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-698760867
UPDATE: updated the config to fix inconsistency in time. This codebsanbox link has the changes, https://codesandbox.io/s/dry-wildflower-79suq?file=/src/App.js
```
xAxis: {
scale: false,
}
```
This takes care of making sure the graph doesnt get scaled in anyway and min max values are applied and displayed properly.
After setting up the graph again, the width of entries still is unexpected, the width should be 1 unit of the x-axis but for some reason it gets stretched out.
----------------------------------------------------------------
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] [incubator-echarts] ngmgit edited a comment on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit edited a comment on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-698760867
----------------------------------------------------------------
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] [incubator-echarts] ngmgit commented on issue #13322: Series (bar) - type: 'time' - entry width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
ngmgit commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-698760867
UPDATE: updated the config to fix inconsistency in time. This codebsanbox link has the changes, https://codesandbox.io/s/dry-wildflower-79suq?file=/src/App.js
----------------------------------------------------------------
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] [incubator-echarts] echarts-bot[bot] commented on issue #13322: Series (bar) - type: 'time' - entriy width doesnt follow the maxInterval and gets corrected if there is any adjacent value.
Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #13322:
URL: https://github.com/apache/incubator-echarts/issues/13322#issuecomment-696257377
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that **you have posted enough image to demo your request**. You may also check out the [API](http://echarts.apache.org/api.html) and [chart option](http://echarts.apache.org/option.html) to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical questions.
If you are interested in the project, you may also subscribe our [mail list](https://echarts.apache.org/en/maillist.html).
Have a nice day! 🍵
----------------------------------------------------------------
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