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

vue2 Semi Donut Chart: strange padding left #492

Open
MizuBishi opened this issue Jun 13, 2023 · 1 comment
Open

vue2 Semi Donut Chart: strange padding left #492

MizuBishi opened this issue Jun 13, 2023 · 1 comment

Comments

@MizuBishi
Copy link

Hi,
I have strange padding left on my vue2 chart - used the Semi Donut Chart Example:

Screenshot 2023-06-13 at 17 11 28

I checked this issue Make Chart Margins and Padding Optional/Adjustable but still got the problem (padding-left: 0).

      series: [0, 0, 0, 0],
      chartOptions: {
        grid: {
          show: false,
          padding: {
            left: 0,
            right: 0,
          },
        },
        tooltip: {
          enabled: false,
        },
        states: {
          normal: {
            filter: {
              type: 'none',
            },
          },
          hover: {
            filter: {
              type: 'none',
            },
          },
          active: {
            filter: {
              type: 'none',
            },
          },
        },
        colors: ['#CCD7E2', '#00376E', '#8CCDE1', '#E5E3D3'],
        legend: {
          show: false,
        },
        dataLabels: {
          enabled: false,
        },
        chart: {
          type: 'donut',
          toolbar: {
            show: false,
          },
          sparkline: {
            enabled: true,
          },
        },
        plotOptions: {
          pie: {
            expandOnClick: false,
            startAngle: -180,
            endAngle: 0.00000000001,
          },
        },
      },

Thank you so much for your work and I hope somebody has a solution for this problem!

Copy link

github-actions bot commented Aug 2, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant