Skip to content

GetConditionalFormats need get databar gradient #1769

@ShowerBandV

Description

@ShowerBandV

Description
When I tried to use GetConditionFormats to obtain the conditional format of a data bar, I didn't know if the data bar was gradient filled. I looked at the XML and found that if it wasn't gradient filled, there would be an attr with gradient="0". If it was gradient filled, there wouldn't be this attr. I hope excelize can support the function of obtaining whether the data bar is gradient filled

<x14:cfRule type="dataBar" id="{259B75A4-6F18-4B61-83F0-580C0D906035}">
<x14:dataBar minLength="0" maxLength="100" gradient="0">
<x14:cfvo type="autoMin"/>
<x14:cfvo type="autoMax"/>
<x14:negativeFillColor rgb="FFFF0000"/>
<x14:axisColor rgb="FF000000"/>
</x14:dataBar>
</x14:cfRule>

test (2).xlsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions