added compare
This commit is contained in:
@@ -843,6 +843,7 @@ analysischoices = (
|
||||
('histo','Histogram'),
|
||||
('flexall','Cumulative Flex Chart'),
|
||||
('stats','Statistics'),
|
||||
('compare','Compare'),
|
||||
)
|
||||
|
||||
|
||||
@@ -859,7 +860,11 @@ class AnalysisChoiceForm(forms.Form):
|
||||
yaxchoices = dict((x,y) for x,y in yaxchoices)
|
||||
yaxchoices = list(sorted(yaxchoices.items(), key = lambda x:x[1]))
|
||||
|
||||
|
||||
plotchoices = (
|
||||
('line','Line Plot'),
|
||||
('scatter','Scatter Plot'),
|
||||
)
|
||||
|
||||
yaxchoices2 = list(
|
||||
(ax[0],ax[1]) for ax in axes if ax[0] not in ['cumdist','distance','time']
|
||||
)
|
||||
@@ -874,6 +879,7 @@ class AnalysisChoiceForm(forms.Form):
|
||||
choices=yaxchoices,label='Left Axis',required=True,initial='power')
|
||||
yaxis2 = forms.ChoiceField(
|
||||
choices=yaxchoices2,label='Right Axis',required=True,initial='None')
|
||||
plottype = forms.ChoiceField(choices=plotchoices,initial='scatter')
|
||||
|
||||
plotfield = forms.ChoiceField(choices=parchoices,initial='spm',
|
||||
label='Metric')
|
||||
|
||||
Reference in New Issue
Block a user