Private
Public Access
1
0

flex chart

This commit is contained in:
Sander Roosendaal
2018-10-11 20:26:23 +02:00
parent 3b8c252cd8
commit cc724afcbb
4 changed files with 124 additions and 213 deletions

View File

@@ -923,6 +923,17 @@ class VirtualRaceSelectForm(forms.Form):
choices = get_countries(),initial='All'
)
class FlexOptionsForm(forms.Form):
includereststrokes = forms.BooleanField(initial=True, required = False,
label='Include Rest Strokes')
plotchoices = (
('line','Line Plot'),
('scatter','Scatter Plot'),
)
plottype = forms.ChoiceField(choices=plotchoices,initial='scatter',
label='Chart Type')
class FlexAxesForm(forms.Form):
axchoices = (
(ax[0],ax[1]) for ax in axes if ax[0] not in ['cumdist','None']