Skip to content

Commit

Permalink
Accept None for label box colors
Browse files Browse the repository at this point in the history
Closes #88
  • Loading branch information
regebro committed Mar 20, 2023
1 parent 2d821f7 commit b483687
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/z3c/rml/chart.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class ILabelBase(interfaces.IRMLDirectiveSignature):
boxStrokeColor = attr.Color(
title='Box Stroke Color',
description=('The color of the box border line.'),
acceptNone=True,
required=False)

boxStrokeWidth = attr.Measurement(
Expand All @@ -303,6 +304,7 @@ class ILabelBase(interfaces.IRMLDirectiveSignature):
boxFillColor = attr.Color(
title='Box Fill Color',
description=('The color in which the box is filled.'),
acceptNone=True,
required=False)

boxTarget = attr.Text(
Expand Down

0 comments on commit b483687

Please sign in to comment.