chore(candles-chart): show more candles by default (#4734)
This commit is contained in:
parent
719d210219
commit
b3308439bd
@ -12,6 +12,8 @@ export type CandlesChartContainerProps = {
|
|||||||
marketId: string;
|
marketId: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const INITIAL_CANDLES_TO_ZOOM = 150;
|
||||||
|
|
||||||
export const CandlesChartContainer = ({
|
export const CandlesChartContainer = ({
|
||||||
marketId,
|
marketId,
|
||||||
}: CandlesChartContainerProps) => {
|
}: CandlesChartContainerProps) => {
|
||||||
@ -36,6 +38,7 @@ export const CandlesChartContainer = ({
|
|||||||
notEnoughDataText: (
|
notEnoughDataText: (
|
||||||
<span className="text-xs text-center">{t('No data')}</span>
|
<span className="text-xs text-center">{t('No data')}</span>
|
||||||
),
|
),
|
||||||
|
initialNumCandlesToDisplay: INITIAL_CANDLES_TO_ZOOM,
|
||||||
}}
|
}}
|
||||||
interval={interval}
|
interval={interval}
|
||||||
theme={theme}
|
theme={theme}
|
||||||
|
Loading…
Reference in New Issue
Block a user