import {Dimensions} from 'react-native';

export const ACTIVE_POINT_CONFIG = {
    color: 'black',
    borderColor: 'black',
    borderWidth: 2,
    radius: 4,
    showVerticalLine: false,
    showActivePointCircle: true,
    verticalLineColor: 'gray',
    verticalLineOpacity: 1,
    verticalLineWidth: 1,
    verticalLineDashArray: [0],
    animateTransition: false,
};

export const END_POINT = {
    color: 'black',
    animated: false,
    radius: 4,
};

export const EXTRA_CONFIG = {
    alwaysShowActivePoint: false,
    hideActivePointOnBlur: true,
    alwaysStartYAxisFromZero: false,
    initialActivePoint: 0,
    simultaneousHandlers: undefined,
    endSpacing: 20,
    calculateChartYAxisMinMax: undefined,
    calculateChartXAxisMinMax: undefined,
    activeOffsetX: [0, 0] as [number, number],
    animationConfig: undefined,
};

export const LINE_CHART = {
    height: 200,
    width: Dimensions.get('screen').width,
    backgroundColor: undefined,
    onPointFocus: () => false,
    onPointLoseFocus: () => false,
    activePointSharedValue: undefined,
    line2: undefined,
    activeLineIndex: 0,
    opacityDirection: 'horizontal' as const,
};
