u
This commit is contained in:
@@ -755,7 +755,7 @@ class ViewManager extends Component {
|
||||
{/* Scroll space at end of page */}
|
||||
<Box sx={{ height: 200 }} />
|
||||
|
||||
<Dialog open={open} onClose={() => this.setState({ open: false })} maxWidth="md" fullWidth>
|
||||
<Dialog open={open} onClose={() => this.setState({ open: false })} maxWidth="lg" fullWidth>
|
||||
<DialogTitle>{editingId ? 'Edit View' : 'Create New View'}</DialogTitle>
|
||||
<DialogContent>
|
||||
<TextField
|
||||
@@ -811,11 +811,12 @@ class ViewManager extends Component {
|
||||
size="small"
|
||||
value={ch.sma || 0}
|
||||
onChange={e => this.updateChannel(idx, { sma: e.target.value })}
|
||||
sx={{ width: 70, ml: 1 }}
|
||||
sx={{ width: 100, ml: 1 }}
|
||||
title="Simple Moving Average"
|
||||
>
|
||||
<MenuItem value="" disabled><em>SMA</em></MenuItem>
|
||||
{SMA_OPTIONS.map(opt => (
|
||||
<MenuItem key={opt.value} value={opt.value}>SMA: {opt.label}</MenuItem>
|
||||
<MenuItem key={opt.value} value={opt.value}>{opt.label}</MenuItem>
|
||||
))}
|
||||
</Select>
|
||||
<TextField
|
||||
@@ -832,7 +833,7 @@ class ViewManager extends Component {
|
||||
size="small"
|
||||
value={ch.yAxis || 'left'}
|
||||
onChange={e => this.updateChannel(idx, { yAxis: e.target.value })}
|
||||
sx={{ width: 75, ml: 1 }}
|
||||
sx={{ width: 85, ml: 1 }}
|
||||
>
|
||||
<MenuItem value="left">Left</MenuItem>
|
||||
<MenuItem value="right">Right</MenuItem>
|
||||
|
||||
Reference in New Issue
Block a user