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 2022/07/06 13:48:22 UTC

[GitHub] [echarts] MadsAkselsen opened a new issue, #17327: [Bug] Cannot show multiple xAxis of type time

MadsAkselsen opened a new issue, #17327:
URL: https://github.com/apache/echarts/issues/17327

   ### Version
   
   5.3.3
   
   ### Link to Minimal Reproduction
   
   _No response_
   
   ### Steps to Reproduce
   
   Add the following to xAxis options.
   
   xAxis: [
     	{
       	id: "time1",
       	type: 'time',
         axisLabel: {
         	margin: 0
         }
     	},
       {
       	id: "time2",
       	type: 'time',
         data: [1657171900000,165717200000, 1657173800000,1657176800000,1657177800000,1657178800000],
         axisLabel: {
         	interval: 0,
         	margin: 10
         }
     	},
   }
   
   ### Current Behavior
   
   Second xAxis doesn't show. It shows if I set it to 'category'
   
   ### Expected Behavior
   
   Should show multiple xAxis. Reason is that I would like to show icons below the corresponding timestamps. So I want to create two xAxis of type time, and replace timestamps with icons on the second xAxis
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

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] MadsAkselsen commented on issue #17327: [Bug] Cannot show multiple xAxis of type time

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

   Solution:
   There can only be one 'time' xAxis per series, so just add xAxisIndex to each series.


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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] MadsAkselsen closed issue #17327: [Bug] Cannot show multiple xAxis of type time

Posted by GitBox <gi...@apache.org>.
MadsAkselsen closed issue #17327: [Bug] Cannot show multiple xAxis of type time
URL: https://github.com/apache/echarts/issues/17327


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

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

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