1923 lines
72 KiB
Python
1923 lines
72 KiB
Python
from chart.models import PlottingLibrary
|
|
|
|
on_num = ' oninput = "value=value.replace(/[^\d]/g,'').slice(0,3)" ' # 只允许三位的数字
|
|
|
|
db = PlottingLibrary()
|
|
|
|
# Composition_Bar
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Composition_Bar'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Composition_BarOfColorsDataByGroup
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Composition_BarOfColorsDataByGroup'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Composition_Pie
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Composition_Pie'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Pie'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Composition_Waffles
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Composition_Waffles'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Heat map'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Correlation_Box
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'F', 'astrict': ''}
|
|
]},
|
|
|
|
{'title': 'models', 'data': [
|
|
{'name': 'model1', "value": 'histogram', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'models', 'data': [
|
|
{'name': 'model2', "value": '', 'astrict': ''},
|
|
{'name': 'model3', "value": '', 'astrict': ''},
|
|
{'name': 'model4', "value": '', 'astrict': ''},
|
|
{'name': 'model5', "value": '', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Correlation_Box'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Scatter'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Correlation_Bubble
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": '', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Correlation_Bubble'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Scatter'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Correlation_Correlation
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Correlation_Correlation'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Heat map'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Correlation_Count
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'F', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Correlation_Count'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Scatter'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Correlation_Jitter
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Correlation_Jitter'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Scatter'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Correlation_Scatter
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": '', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Correlation_Scatter'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Scatter'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Deviation_Area
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Deviation_Area'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Deviation_Bar
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'type', 'data': [
|
|
{'name': 'type_1', "value": '', 'astrict': ''},
|
|
{'name': 'type_2', "value": '', 'astrict': ''},
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Deviation_Bar'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Deviation_Dots
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'type', 'data': [
|
|
{'name': 'type_1', "value": '', 'astrict': ''},
|
|
{'name': 'type_2', "value": '', 'astrict': ''},
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Deviation_Dots'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Deviation_Lollipop
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Deviation_Lollipop'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_BoxWithDots
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'line_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'point_color', "value": '#FF0000', 'astrict': ''},
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_BoxWithDots'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_Box_1
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'line_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_Box_1'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Box'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_Box_2
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'line_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_Box_2'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Box'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_DensityFunction
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_DensityFunction'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_Histogram
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
|
|
{'title': 'models', 'data': [
|
|
{'name': 'model', "value": '1', 'astrict': on_num}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_Histogram'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_HistogramOfClassificationVariables
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_HistogramOfClassificationVariables'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_PopulationPyramid
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'color', "value": 'Dark2', 'astrict': ''},
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_PopulationPyramid'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_TufteBox
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_TufteBox'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Distribution_Violin
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'line_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Distribution_Violin'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Group_HierarchicalTree
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Group_HierarchicalTree'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Tree'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Sort_Dots
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Sort_Dots'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Sort_Lean
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'type', 'data': [
|
|
{'name': 'time_1', "value": 'Time 1', 'astrict': ''},
|
|
{'name': 'time_2', "value": 'Time 2', 'astrict': ''},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'species', 'data': [
|
|
{'name': 'species_1', "value": 'Species 1', 'astrict': ''},
|
|
{'name': 'species_2', "value": 'Species 2', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Sort_Lean'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Sort_Lollipop
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Sort_Lollipop'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Dot'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# Sort_OrderedBar
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'Sort_OrderedBar'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Histogram'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_Accumulation
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'type', 'data': [
|
|
{'name': 'type_1', "value": '', 'astrict': ''},
|
|
{'name': 'type_2', "value": '', 'astrict': ''},
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_Accumulation'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_CalendarHeat
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'legend', "value": 'No', 'astrict': ''}
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
|
|
{'title': 'legend', 'data': [
|
|
{'name': 'fill', "value": 'Legend', 'astrict': ''},
|
|
{'name': 'legend_position', "value": 'right', 'astrict': ''}
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_CalendarHeat'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Heat map'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_DataframeTimeSeries
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_DataframeTimeSeries'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_SeasonalTimeSeries
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'orther', 'data': [
|
|
{'name': 'time', "value": '2021-0', 'astrict': ''},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_SeasonalTimeSeries'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_ShowMultipleTimeSeriesSimultaneously
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'type', 'data': [
|
|
{'name': 'type_1', "value": '', 'astrict': ''},
|
|
{'name': 'type_2', "value": '', 'astrict': ''},
|
|
]}
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_ShowMultipleTimeSeriesSimultaneously'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_TimeSeries
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
|
|
{'title': 'orther', 'data': [
|
|
{'name': 'time', "value": '2021-0', 'astrict': ''},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_TimeSeries'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_TimeSeriesOfAnnualData
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_TimeSeriesOfAnnualData'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|
|
|
|
# TemporalChanges_TimeSeriesOfMonthlyData
|
|
|
|
data = {
|
|
'Basics': [
|
|
{'title': 'lable', 'data': [
|
|
{'name': 'X_name', "value": 'X Name', 'astrict': ''},
|
|
{'name': 'Y_name', "value": 'Y Name', 'astrict': ''},
|
|
{'name': 'x_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'y_size', "value": '18', 'astrict': on_num},
|
|
{'name': 'x_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'y_axis_size', "value": '12', 'astrict': on_num},
|
|
{'name': 'x_axis_angle', "value": '0', 'astrict': on_num},
|
|
{'name': 'y_axis_angle', "value": '0', 'astrict': on_num}
|
|
]},
|
|
|
|
{'title': 'title', 'data': [
|
|
{'name': 'title', "value": 'Title', 'astrict': ''},
|
|
{'name': 'subtitle', "value": 'subtitle', 'astrict': ''},
|
|
{'name': 'caption', "value": 'caption', 'astrict': ''},
|
|
{'name': 'title_size', "value": '18', 'astrict': on_num},
|
|
]},
|
|
],
|
|
|
|
'Senior': [
|
|
{'title': 'color', 'data': [
|
|
{'name': 'x_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'x_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'y_axis_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'font_color', "value": '#000000', 'astrict': ''},
|
|
{'name': 'background', "value": '#ffffff', 'astrict': ''},
|
|
]},
|
|
]
|
|
|
|
}
|
|
|
|
db.parameter = data
|
|
chart_name = 'TemporalChanges_TimeSeriesOfMonthlyData'
|
|
db.name = chart_name.replace("_", ' ')
|
|
db.example_file = f"/file_keep/eg_file/img/{chart_name}.csv"
|
|
db.sort = 'Line chart'
|
|
db.url = f'/chart/{chart_name}.html'
|
|
db.index_img = f'static/img_eg/show_index_chart/{chart_name}.png'
|
|
db.show_img = f'static/img_eg/example_chart/{chart_name}'
|
|
db.visiting_time = 0
|
|
db.downlode_time = 0
|
|
db.save()
|