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

Fix issue #2547 #2651

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix issue #2547 #2651

wants to merge 1 commit into from

Conversation

darkag
Copy link

@darkag darkag commented Jan 5, 2024

invert order of negativeFillColor and negativeBorderColor

Summary

Fix the issue #2547

Test plan

add the following conditionalFormatting rule
the exported file will open with this fix but won't without.

 worksheet.addConditionalFormatting({
    ref: "A1:A1"
    rules: [
        {
            type: "dataBar",
            cfvo: [{ type: "min" }, { type: "max" }],
            color: { argb: "FF50FF50" },
            negativeFillColor: { argb: 'FFFF5050' },
            border: true,
            negativeBarBorderColorSameAsPositive: false,
            borderColor: { argb: "FF50FF50" },
            negativeBorderColor: { argb: 'FFFF5050' },
            axisColor: { auto: "1"},
        }
    ]
});

invert order of negativeFillColor and negativeBorderColor
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.

None yet

1 participant