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/02/21 13:18:49 UTC

[GitHub] [echarts] Bilge opened a new issue #14312: Dual time series dataset does not render correctly

Bilge opened a new issue #14312:
URL: https://github.com/apache/echarts/issues/14312


   ### Version
   5.0.2
   
   ### Reproduction link
   * As category series (working) https://codepen.io/bilge-the-encoder/pen/OJbxJLG
   * **As time series (broken) [https://codepen.io/bilge-the-encoder/pen/eYBGOGN](https://codepen.io/bilge-the-encoder/pen/eYBGOGN)**
   
   ### Steps to reproduce
   See reproduction links.
   
   ### What is expected?
   Should display two time series.
   
   ### What is actually happening?
   First time series is bunched up at the end of the chart, second series is completely misinterpreted.
   
   ---
   Renders correctly as category series, only time series is broken. I can't use ECharts until this is fixed.
   
   <!-- 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] [echarts] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround which hinges upon `       encode: { y: 2 }` which forces the y-axis to be mapped to the third set of data points. Although I must say, I am surprised this works, because it looks like the x-axis is the one that's mis-mapped in the [original reproduction](https://codepen.io/bilge-the-encoder/pen/eYBGOGN), but this seems to just be an artefact of the renderer not knowing what to do with the mis-mapped data.


-- 
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] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround which hinges upon `       encode: { y: 2 }`.


-- 
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] Ovilia commented on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Ovilia commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-783149182


   This seems to be a bug. It works with `'category'` axis but not `'time'`.


----------------------------------------------------------------
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] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround which hinges upon `       encode: { y: 2 }` which forces the y-axis to be mapped to the third set of data points. I am surprised this works because it looks like the x-axis is the one that's mis-mapped in the [original reproduction](https://codepen.io/bilge-the-encoder/pen/eYBGOGN), but this seems to just be an artefact of the renderer not knowing what to do with the mis-mapped data.


-- 
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] Bilge commented on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-783345838


   @Ovilia Thanks for confirming. Please consider a minor point release to fix this.


----------------------------------------------------------------
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] Bilge commented on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed.


-- 
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 issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
echarts-bot[bot] commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-782856941


   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 question.
   
   If you are interested in the project, you may also subscribe our [mailing 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] [echarts] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround which hinges upon `       encode: { y: 2 }` which forces the y-axis to be mapped to the third set of data points. Although I must say, I am surprised this works, because it looks like the x-axis is the one that's mis-mapped in the [original reproduction](https://codepen.io/bilge-the-encoder/pen/eYBGOGN).


-- 
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] Bilge commented on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-792144954


   @Ovilia @pissang Has this issue been forgotten? I am blocked by this.


----------------------------------------------------------------
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] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround which hinges upon `       encode: { y: 2 }` which forces the y-axis to be mapped to the third dataset data points. Although I must say, I am surprised this works, because it looks like the x-axis is the one that's mis-mapped in the [original reproduction](https://codepen.io/bilge-the-encoder/pen/eYBGOGN).


-- 
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] jbaron commented on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
jbaron commented on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811496230


   Perhaps not best solution, but a work around I used for the time being is to specify some encoding info at series level. Even the one additional line below already removes the bug.
   
             option = {
               dataset: {
                     source: [
                         ['2020-10-24', 325, 225],
                         ['2020-10-31', 318, 226],
                         ['2020-11-07', 316, 224],
                         ['2020-11-14', 316, 232],
                         ['2020-11-21', 310, 224],
                         ['2020-11-28', 324, 241],
                         ['2020-12-05', 323, 240],
                         ['2020-12-12', 323, 243],
                         ['2020-12-19', 337, 267],
                         ['2020-12-26', 334, 267],
                         ['2021-01-02', 334, 283],
                         ['2021-01-09', 337, 285],
                         ['2021-01-16', 333, 287],
                         ['2021-01-23', 333, 292],
                         ['2021-01-30', 333, 292],
                         ['2021-02-06', 333, 292]
                         ]
                 },
                 xAxis: {type: 'time'},
                 yAxis: {},
                 series: [
                     {   type: 'line' },
                     {   type: 'line',
                         encode : { y: 2 }
                     },
                  
                 ]
             };


-- 
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] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround.


-- 
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] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.


-- 
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] Bilge edited a comment on issue #14312: Dual time series dataset does not render correctly

Posted by GitBox <gi...@apache.org>.
Bilge edited a comment on issue #14312:
URL: https://github.com/apache/echarts/issues/14312#issuecomment-811499667


   @jbaron Thanks, that is a helpful workaround indeed. You must have a deep understanding of this software.
   
   Here is a [live demo](https://codepen.io/bilge-the-encoder/pen/bGggLwv) of @jbaron's workaround which hinges upon `       encode : { y: 2 }`.


-- 
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