Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] I want a Confidence Band with the type of x and y axis equal "log"! #16646

Closed
changfeng1800 opened this issue Mar 8, 2022 · 3 comments
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature. stale Inactive for a long time. Will be closed in 7 days. waiting-for: community

Comments

@changfeng1800
Copy link

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

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

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
                ]
            ]
        }
    ],
   
}
@echarts-bot echarts-bot bot added en This issue is in English pending We are not sure about whether this is a bug/new feature. waiting-for: community labels Mar 8, 2022
@changfeng1800
Copy link
Author

You can also get the example html file here.
confidence-band-20220308.zip

Copy link
Contributor

github-actions bot commented Mar 7, 2024

This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.

@github-actions github-actions bot added the stale Inactive for a long time. Will be closed in 7 days. label Mar 7, 2024
Copy link
Contributor

This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
en This issue is in English new-feature pending We are not sure about whether this is a bug/new feature. stale Inactive for a long time. Will be closed in 7 days. waiting-for: community
Projects
None yet
Development

No branches or pull requests

1 participant