Skip to content

Commit c3eaa8a

Browse files
committed
sort transforms
1 parent e4e4ff9 commit c3eaa8a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/components/containers/TransformAccordion.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class TransformAccordion extends Component {
2323
{label: _('Filter'), type: 'filter'},
2424
{label: _('Split'), type: 'groupby'},
2525
{label: _('Aggregate'), type: 'aggregate'},
26+
{label: _('Sort'), type: 'sort'},
2627
];
2728

2829
const transformableCharts = [

src/default_panels/GraphTransformsPanel.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ const GraphTransformsPanel = (props, {localize: _}) => {
8080
<FilterOperation label={_('Operator')} attr="operation" />
8181
<FilterValue label={_('Value')} attr="value" />
8282

83+
<Radio
84+
attr="order"
85+
options={[
86+
{label: _('Ascending'), value: 'ascending'},
87+
{label: _('Descending'), value: 'descending'},
88+
]}
89+
/>
90+
8391
<PlotlySection name={_('Aggregations')} attr="aggregations">
8492
<Aggregations />
8593
</PlotlySection>

0 commit comments

Comments
 (0)