Mercurial > bitten > bitten-test
view bitten/templates/bitten_chart_coverage.html @ 645:8c824b14e1c5
0.6dev: Switching `master.py` to use new `self._send_response()` and `self._send_error() methods. Simplifies code, but most importantly for errors it allows a consistent method for transmitting plain-text error messages to the slave (that the slave will now output as part of debug logging).
Raising Trac HTTP* errors actually causes full rendering of an HTML error page as response, which is both inefficient as well as making it near-impossible to extract the 'hidden' message from the master.
author | osimons |
---|---|
date | Mon, 24 Aug 2009 12:00:43 +0000 |
parents | a7c795920c4a |
children |
line wrap: on
line source
<chart xmlns:py="http://genshi.edgewall.org/"> <chart_type> <value>area</value> <value>area</value> </chart_type> <axis_category size="10" orientation="diagonal_up" skip="${len(data[0]) / 6}"/> <axis_ticks value_ticks="false" category_ticks="true" major_thickness="1" minor_thickness="0" major_color="000000" position="outside"/> <chart_data> <row py:for="idx, row in enumerate(data)"> <py:choose py:for="jdx, value in enumerate(row)"> <string py:when="not idx or not jdx">$value</string> <number py:otherwise="">$value</number> </py:choose> </row> </chart_data> <chart_border color="999999" left_thickness="1" bottom_thickness="1"/> <chart_grid_h alpha="5" color="666666" thickness="3"/> <chart_pref line_thickness="2" point_shape="none"/> <chart_value position="cursor"/> <series_color> <color>bbbbbb</color> <color>9999ff</color> </series_color> <legend_label layout="vertical" alpha="60"/> <legend_rect x="60" y="50" width="10"/> <draw> <text width="320" height="40" h_align="center" v_align="bottom" size="12">$title</text> </draw> </chart>