mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Revert "[charts] Fix timezone regression in charts (#123478)"
This reverts commit 3e3b0f79ff
.
This commit is contained in:
parent
3e3b0f79ff
commit
8b2db69a3e
11 changed files with 0 additions and 13 deletions
|
@ -117,7 +117,6 @@ export function PageViewsChart({ data, loading }: Props) {
|
|||
labelFormat={(d) => numeral(d).format('0a')}
|
||||
/>
|
||||
<BarSeries
|
||||
timeZone="local"
|
||||
id={I18LABELS.pageViews}
|
||||
xScaleType={ScaleType.Time}
|
||||
yScaleType={ScaleType.Linear}
|
||||
|
|
|
@ -94,7 +94,6 @@ export function ServiceProfilingTimeline({
|
|||
{specs.map((spec) => (
|
||||
<BarSeries
|
||||
{...spec}
|
||||
timeZone="local"
|
||||
key={spec.id}
|
||||
xScaleType={ScaleType.Time}
|
||||
yScaleType={ScaleType.Linear}
|
||||
|
|
|
@ -106,7 +106,6 @@ export function SparkPlot({
|
|||
xAccessor={'x'}
|
||||
yAccessors={['y']}
|
||||
data={series}
|
||||
timeZone="local"
|
||||
color={colorValue}
|
||||
curve={CurveType.CURVE_MONOTONE_X}
|
||||
/>
|
||||
|
@ -118,7 +117,6 @@ export function SparkPlot({
|
|||
xAccessor={'x'}
|
||||
yAccessors={['y']}
|
||||
data={comparisonSeries}
|
||||
timeZone="local"
|
||||
color={theme.eui.euiColorLightestShade}
|
||||
curve={CurveType.CURVE_MONOTONE_X}
|
||||
/>
|
||||
|
|
|
@ -138,7 +138,6 @@ export const DocumentCountChart: FC<Props> = ({
|
|||
xAccessor="time"
|
||||
yAccessors={['value']}
|
||||
data={adjustedChartPoints}
|
||||
timeZone="local"
|
||||
/>
|
||||
</Chart>
|
||||
</div>
|
||||
|
|
|
@ -442,7 +442,6 @@ export const DatafeedChartFlyout: FC<DatafeedChartFlyoutProps> = ({ jobId, end,
|
|||
yAccessors={[1]}
|
||||
data={sourceData}
|
||||
curve={CurveType.LINEAR}
|
||||
timeZone="local"
|
||||
/>
|
||||
<LineSeries
|
||||
key={'job-results'}
|
||||
|
@ -456,7 +455,6 @@ export const DatafeedChartFlyout: FC<DatafeedChartFlyoutProps> = ({ jobId, end,
|
|||
yAccessors={[1]}
|
||||
data={bucketData}
|
||||
curve={CurveType.LINEAR}
|
||||
timeZone="local"
|
||||
/>
|
||||
</Chart>
|
||||
</div>
|
||||
|
|
|
@ -44,7 +44,6 @@ export const ModelBounds: FC<Props> = ({ modelData }) => {
|
|||
curve={CurveType.CURVE_MONOTONE_X}
|
||||
areaSeriesStyle={areaSeriesStyle}
|
||||
color={MODEL_COLOR}
|
||||
timeZone="local"
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -90,7 +90,6 @@ export const EventRateChart: FC<Props> = ({
|
|||
yAccessors={['value']}
|
||||
data={eventRateChartData}
|
||||
color={barColor}
|
||||
timeZone="local"
|
||||
/>
|
||||
</Chart>
|
||||
</LoadingWrapper>
|
||||
|
|
|
@ -142,7 +142,6 @@ export function APMSection({ bucketSize }: Props) {
|
|||
xAccessor={'x'}
|
||||
yAccessors={['y']}
|
||||
color={transactionsColor}
|
||||
timeZone="local"
|
||||
/>
|
||||
<Axis
|
||||
id="y-axis"
|
||||
|
|
|
@ -53,7 +53,6 @@ export function MetricWithSparkline({ id, formatter, value, timeseries, color }:
|
|||
xAccessor={'timestamp'}
|
||||
yAccessors={[id]}
|
||||
color={colors[color] || '#006BB4'}
|
||||
timeZone="local"
|
||||
/>
|
||||
</Chart>
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -99,7 +99,6 @@ export const AlertsHistogram = React.memo<AlertsHistogramProps>(
|
|||
yAccessors={yAccessors}
|
||||
splitSeriesAccessors={splitSeriesAccessors}
|
||||
data={data}
|
||||
timeZone={'local'}
|
||||
/>
|
||||
</Chart>
|
||||
</EuiFlexItem>
|
||||
|
|
|
@ -23,7 +23,6 @@ export const DurationLineSeriesList = ({ monitorType, lines }: Props) => (
|
|||
curve={CurveType.CURVE_MONOTONE_X}
|
||||
// this id is used for the line chart representing the average duration length
|
||||
data={line.map(({ x, y }) => [x, y || null])}
|
||||
timeZone="local"
|
||||
id={`loc-avg-${name}`}
|
||||
key={`loc-line-${name}`}
|
||||
name={name}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue