The string representation of the numeric (or date) label of this category, suitable for use in the XML `c:pt` element for this category. The optional *date_1904* parameter specifies the epoch used for calculating Excel date numbers.
(self, date_1904=False)
| 584 | return self._label if self._label is not None else "" |
| 585 | |
| 586 | def numeric_str_val(self, date_1904=False): |
| 587 | """ |
| 588 | The string representation of the numeric (or date) label of this |
| 589 | category, suitable for use in the XML `c:pt` element for this |
| 590 | category. The optional *date_1904* parameter specifies the epoch used |
| 591 | for calculating Excel date numbers. |
| 592 | """ |
| 593 | label = self._label |
| 594 | if isinstance(label, (datetime.date, datetime.datetime)): |
| 595 | return "%.1f" % self._excel_date_number(date_1904) |
| 596 | return str(self._label) |
| 597 | |
| 598 | @property |
| 599 | def sub_categories(self): |