import { ChartConfig } from '../../components/charts/common/types' ; import { getPalette , PalletScheme } from '../../components/charts/common/palettes' ; import { DEFAULT_CHART_CONFIG } from '../../components/charts/sc-webgl-base-chart/chartDefaults' ; import { DataStreamInfo } from '../../utils/dataTypes' ; import { DataType } from '../../utils/dataConstants' ; const pallet = getPalette ( PalletScheme . QUALITATIVE_MUTED , 5 ) ; const infos = [ { id : 'some-id' , name : 'high' , resolution : 0 , detailedName : '/abc/stocks/high' , color : pallet [ 0 ] , unit : 'USD' , dataType : DataType . NUMBER , } , ] ; export const TESTING_GROUND_CHART_CONFIG = { widgetId : 'fake-id' , legend : DEFAULT_CHART_CONFIG . legend , viewport : { start : new Date ( 1998 , 0 , 0 ) , end : new Date ( 2000 , 0 , 1 ) , } , dataStreamInfo : infos , } ;