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

If all series types match the chart type it isn't a combo chart #4327

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

rosco54
Copy link
Contributor

@rosco54 rosco54 commented Mar 13, 2024

New Pull Request

The default type for chart is "line" and the default for series is the chart type, therefore, if the types of all series match the chart type, this should not be considered a combo chart. Previously, if any series had a defined type, the chart was considered a combo chart.

Fixes #4132

The CodePen example in the original bug report will stack correctly with this fix, but as far as I know it doesn't restore the behaviour the reporter claims was working in revisions prior to 3.44.1.

Before

2fz93k98

After

t51xbkn1 (1)

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • New and existing unit tests pass locally with my changes

src/modules/CoreUtils.js Outdated Show resolved Hide resolved
src/modules/Core.js Outdated Show resolved Hide resolved
The default type for chart is "line" and the default for series is the
chart type, therefore, if the types of all series match the chart type,
this should not be considered a combo chart.
@junedchhipa junedchhipa merged commit 616d142 into apexcharts:main Mar 19, 2024
@rosco54 rosco54 deleted the Issue_4132 branch May 5, 2024 02:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stacked Area Charts Don't Stack
2 participants