|
|
@ -1,10 +1,17 @@ |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
# -*- coding: utf-8 -*- |
|
|
|
# This file is part of pygal |
|
|
|
# This file is part of pygal |
|
|
|
|
|
|
|
from datetime import date, datetime |
|
|
|
|
|
|
|
from random import choice, randint |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from flask import abort |
|
|
|
|
|
|
|
|
|
|
|
from pygal import ( |
|
|
|
from pygal import ( |
|
|
|
Bar, Gauge, Pyramid, Funnel, Dot, StackedBar, StackedLine, XY, |
|
|
|
CHARTS_BY_NAME, XY, Bar, Box, Config, DateLine, DateTimeLine, Dot, Funnel, |
|
|
|
CHARTS_BY_NAME, Config, Line, Histogram, Box, |
|
|
|
Gauge, Histogram, HorizontalBar, Line, Pie, Pyramid, Radar, SolidGauge, |
|
|
|
Pie, Treemap, TimeLine, DateLine, Radar, HorizontalBar, |
|
|
|
StackedBar, StackedLine, TimeLine, Treemap, formatters, stats) |
|
|
|
DateTimeLine, SolidGauge) |
|
|
|
from pygal.colors import rotate |
|
|
|
|
|
|
|
from pygal.graph.horizontal import HorizontalGraph |
|
|
|
|
|
|
|
from pygal.style import RotateStyle, Style, styles |
|
|
|
|
|
|
|
|
|
|
|
try: |
|
|
|
try: |
|
|
|
from pygal.maps import world |
|
|
|
from pygal.maps import world |
|
|
@ -21,13 +28,6 @@ try: |
|
|
|
except ImportError: |
|
|
|
except ImportError: |
|
|
|
ch = None |
|
|
|
ch = None |
|
|
|
|
|
|
|
|
|
|
|
from flask import abort |
|
|
|
|
|
|
|
from pygal.style import styles, Style, RotateStyle |
|
|
|
|
|
|
|
from pygal.colors import rotate |
|
|
|
|
|
|
|
from pygal import stats, formatters |
|
|
|
|
|
|
|
from pygal.graph.horizontal import HorizontalGraph |
|
|
|
|
|
|
|
from random import randint, choice |
|
|
|
|
|
|
|
from datetime import datetime, date |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_test_routes(app): |
|
|
|
def get_test_routes(app): |
|
|
|