Statistics: Changed plugin name and chart options

This commit is contained in:
Raphael Michel
2015-08-15 11:16:01 +02:00
parent d9085d37a6
commit b8fb9838af
2 changed files with 4 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ class StatisticsApp(AppConfig):
class PretixPluginMeta:
type = PluginType.ADMINFEATURE
name = _("Display various statistics")
name = _("Statistics")
author = _("the pretix team")
version = '1.0.0'
description = _("This plugin shows you various statistics.")

View File

@@ -17,7 +17,9 @@
data: {{ obd_data|safe }},
xkey: 'date',
ykeys: ['ordered', 'paid'],
labels: ['{% trans "Placed orders" %}', '{% trans "Paid orders" %}']
labels: ['{% trans "Placed orders" %}', '{% trans "Paid orders" %}'],
lineColors: ['#000099', '#009900'],
resize: true
});
</script>
{% endblock %}