Skip to content

add 3_triangles support #1110

@splier

Description

@splier

Feature Request

import xlsxwriter

workbook = xlsxwriter.Workbook('test.xlsx')
worksheet = workbook.add_worksheet()

data = [1, 0, -1]
worksheet.write_column('A1', data)
worksheet.conditional_format(f"A1:A3", {
'type': 'icon_set',
'icon_style': '3_triangles',
'icons': [
{'criteria': '>', 'type': 'number', 'value': 0},
{'criteria': '=', 'type': 'number', 'value': 0},
{'criteria': '<', 'type': 'number', 'value': 0},
],
})

workbook.close()

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions