%page expression_filter="h"/>
<%namespace name="lib" file="/lib.html" import="get_application_css" />
<%
edit_xml_url = make_url(
['manager', app, 'data/ui/views', view_id],
_qs=dict(
action='edit',
url=make_url(['app', app, view_id]),
redirect_override="/app/%s/%s" % (app, view_id)
)
)
%>
<% panel_dict = dashboard_panel.get_dict() %>
${_('Visualizations')}
<% data_series = [('table', _('Table')), ('event', _('Events'))] %>
% for data in data_series:
% if not is_transforming or data[0] == 'table':
${data[1]|n}
% else:
${data[1]|n}
% endif
% endfor
<% data_series = [('bar', _('Bar')), ('area', _('Area')), ('column', _('Column')),
('pie', _('Pie')), ('scatter', _('Scatter')), ('line', _('Line'))] %>
% for data in data_series:
% if is_transforming:
${data[1]|n}
% else:
${data[1]|n}
% endif
% endfor
<% data_series = [('single', _('Single Value')), ('radialGauge', _('Radial Gauge')),
('fillerGauge', _('Filler Gauge')), ('markerGauge', _('Marker Gauge'))] %>
% for data in data_series:
% if is_transforming:
${data[1]|n}
% else:
${data[1]|n}
% endif
% endfor
${_("Learn More")}
## hard-coding the swatch colors for now
<%
swatch_colors = ["#7e9f44", "#ebe42d", "#d13b3b", "#6cb8ca", "#f7912c", "#956e96",
"#c2da8a", "#fac61d", "#ebb7d0", "#324969", "#d85e3d", "#a04558"];
%>