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/03/08 03:14:36 UTC

[GitHub] [echarts] changfeng1800 opened a new issue #16646: [Feature] I want a Confidence Band with the type of x and y axis equal "log"!

changfeng1800 opened a new issue #16646:
URL: https://github.com/apache/echarts/issues/16646


   ### What problem does this feature solve?
   
   I want a Confidence Band with  the type of x and y axis equal "log"!
   But the curve is strange when I set the x axis type equal "log".
   Could you help me?
   ![image](https://user-images.githubusercontent.com/39051751/157158385-9623d776-37a7-45ec-b056-7485bfd9238a.png)
   
   
   
   ### What does the proposed API look like?
   
   the option of the curve is below. you can copy the code to here and replace the option to restore the effect.
   [Confidence Band](https://echarts.apache.org/examples/zh/editor.html?c=confidence-band)
   ```
   option = {
       "xAxis": {
           "type": "category",
       },
       "yAxis": {
           "type": "log",
           
       },
       "series": [
           {
               "name": null,
               "type": "line",
               "smooth": true,
               "symbol": "none",
               "lineStyle": {
                   "type": "solid"
               },
               "itemStyle": {
                   "color": "#E3000B"
               },
               "areaStyle": {
                   "color": ""
               },
               "stack": "",
               "data": [
                   [
                       0,
                       0.0000014737799999999998
                   ],
                   [
                       0.225,
                       0.0000014682600000000002
                   ],
                   [
                       0.45,
                       0.0000014636399999999999
                   ],
                   [
                       0.675,
                       0.00000145296
                   ],
                   [
                       0.9,
                       0.0000014407
                   ],
                   [
                       1.125,
                       0.0000014275999999999999
                   ],
                   [
                       1.35,
                       0.00000140994
                   ],
                   [
                       1.575,
                       0.0000013875399999999999
                   ],
                   [
                       1.8,
                       0.00000135424
                   ],
                   [
                       2.025,
                       0.0000013085399999999999
                   ],
                   [
                       2.25,
                       0.00000123032
                   ],
                   [
                       2.475,
                       0.0000011012000000000001
                   ],
                   [
                       2.7,
                       8.937799999999999e-7
                   ],
                   [
                       2.925,
                       6.304e-7
                   ],
                   [
                       3.15,
                       4.467e-7
                   ],
                   [
                       3.375,
                       3.6019999999999996e-7
                   ],
                   [
                       3.6,
                       3.1755e-7
                   ],
                   [
                       3.825,
                       2.93e-7
                   ],
                   [
                       4.05,
                       2.7654999999999997e-7
                   ],
                   [
                       4.275,
                       2.6430000000000006e-7
                   ],
                   [
                       4.5,
                       2.5445000000000006e-7
                   ]
               ]
           },
           {
               "name": null,
               "type": "line",
               "smooth": true,
               "symbol": "none",
               "lineStyle": {
                   "type": "dashed"
               },
               "itemStyle": {
                   "color": "#1D252D"
               },
               "areaStyle": {
                   "color": ""
               },
               "stack": "",
               "data": []
           },
           {
               "name": null,
               "type": "line",
               "smooth": true,
               "symbol": "none",
               "lineStyle": {
                   "type": "solid"
               },
               "itemStyle": {
                   "color": "#FE9F9B"
               },
               "areaStyle": {
                   "color": ""
               },
               "stack": "lb",
               "data": [
                   [
                       0,
                       0.0000014094
                   ],
                   [
                       0.225,
                       0.0000014048
                   ],
                   [
                       0.45,
                       0.0000014004
                   ],
                   [
                       0.675,
                       0.0000013934
                   ],
                   [
                       0.9,
                       0.0000013839999999999998
                   ],
                   [
                       1.125,
                       0.0000013724
                   ],
                   [
                       1.35,
                       0.0000013586
                   ],
                   [
                       1.575,
                       0.0000013416
                   ],
                   [
                       1.8,
                       0.0000012916
                   ],
                   [
                       2.025,
                       0.0000012564
                   ],
                   [
                       2.25,
                       0.0000011756
                   ],
                   [
                       2.475,
                       0.0000010336
                   ],
                   [
                       2.7,
                       7.895e-7
                   ],
                   [
                       2.925,
                       5.1e-7
                   ],
                   [
                       3.15,
                       3.74e-7
                   ],
                   [
                       3.375,
                       3.1750000000000003e-7
                   ],
                   [
                       3.6,
                       2.87e-7
                   ],
                   [
                       3.825,
                       2.67e-7
                   ],
                   [
                       4.05,
                       2.545e-7
                   ],
                   [
                       4.275,
                       2.435e-7
                   ],
                   [
                       4.5,
                       2.3499999999999997e-7
                   ]
               ]
           },
           {
               "name": null,
               "type": "line",
               "smooth": true,
               "symbol": "none",
               "lineStyle": {
                   "type": "solid"
               },
               "itemStyle": {
                   "color": "#FE9F9B"
               },
               "areaStyle": {
                   "color": "#FE9F9B"
               },
               "stack": "lb",
               "data": [
                   [
                       0,
                       1.6039999999999998e-7
                   ],
                   [
                       0.225,
                       1.608e-7
                   ],
                   [
                       0.45,
                       1.5840000000000004e-7
                   ],
                   [
                       0.675,
                       1.5419999999999994e-7
                   ],
                   [
                       0.9,
                       1.478000000000003e-7
                   ],
                   [
                       1.125,
                       1.3999999999999993e-7
                   ],
                   [
                       1.35,
                       1.298e-7
                   ],
                   [
                       1.575,
                       1.1600000000000003e-7
                   ],
                   [
                       1.8,
                       1.225999999999999e-7
                   ],
                   [
                       2.025,
                       8.820000000000006e-8
                   ],
                   [
                       2.25,
                       9.02e-8
                   ],
                   [
                       2.475,
                       1.352e-7
                   ],
                   [
                       2.7,
                       2.2610000000000005e-7
                   ],
                   [
                       2.925,
                       2.565e-7
                   ],
                   [
                       3.15,
                       1.5450000000000001e-7
                   ],
                   [
                       3.375,
                       9.449999999999995e-8
                   ],
                   [
                       3.6,
                       7.05e-8
                   ],
                   [
                       3.825,
                       6.049999999999999e-8
                   ],
                   [
                       4.05,
                       5.3499999999999996e-8
                   ],
                   [
                       4.275,
                       5.050000000000009e-8
                   ],
                   [
                       4.5,
                       4.8000000000000006e-8
                   ]
               ]
           }
       ],
      
   }
   ```


-- 
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] changfeng1800 commented on issue #16646: [Feature] I want a Confidence Band with the type of x and y axis equal "log"!

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


   You can also get the example html file here.
   [confidence-band-20220308.zip](https://github.com/apache/echarts/files/8202464/confidence-band-20220308.zip)
   


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