Skip to content
This repository was archived by the owner on Dec 10, 2021. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions plugins/legacy-plugin-chart-pivot-table/src/controlPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ export default {
{
label: t('Pivot Options'),
controlSetRows: [
[
{
name: 'fill_missing_with_zero',
config: {
type: 'CheckboxControl',
label: t('Fill missing timestamps with zero'),
renderTrigger: false,
default: false,
description: t('Fill missing values with zero based on time grain'),
},
},
],
[
{
name: 'pandas_aggfunc',
Expand Down
14 changes: 14 additions & 0 deletions plugins/legacy-preset-chart-nvd3/src/NVD3Controls.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,20 @@ export const timeSeriesSection = [
'of query results',
),
controlSetRows: [
// eslint-disable-next-line react/jsx-key
[<h1 className="section-header">{t('Data imputation')}</h1>],
[
{
name: 'fill_missing_with_zero',
config: {
type: 'CheckboxControl',
label: t('Fill missing timestamps with zero'),
renderTrigger: false,
default: false,
description: t('Fill missing values with zero based on time grain'),
},
},
],
// eslint-disable-next-line react/jsx-key
[<h1 className="section-header">{t('Rolling Window')}</h1>],
[
Expand Down