File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed 
public/app/features/explore/Graph Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import { ExploreGraph } from './ExploreGraph';
3030import  {  ExploreGraphLabel  }  from  './ExploreGraphLabel' ; 
3131import  {  loadGraphStyle  }  from  './utils' ; 
3232
33- const  MAX_NUMBER_OF_TIME_SERIES  =  20 ; 
33+ let  MAX_NUMBER_OF_TIME_SERIES  =  20 ;   // LOGZ.IO GRAFANA CHANGE 
3434
3535interface  Props  extends  Pick < PanelChromeProps ,  'statusMessage' >  { 
3636  width : number ; 
@@ -65,6 +65,9 @@ export const GraphContainer = ({
6565  const  [ showAllSeries ,  toggleShowAllSeries ]  =  useToggle ( false ) ; 
6666  const  [ graphStyle ,  setGraphStyle ]  =  useState ( loadGraphStyle ) ; 
6767  const  styles  =  useStyles2 ( getStyles ) ; 
68+   // LOGZ.IO GRAFANA CHANGE :: make the max number of time series bigger by FF. requested by rrk 
69+   const  showMoreTimeSeries  =  ( window  as  any ) . logzio ?. configs ?. featureFlags ?. MaxNumberOfTimeSeriesBigger ; 
70+   MAX_NUMBER_OF_TIME_SERIES  =  showMoreTimeSeries  ? 500  : 20 ; 
6871
6972  const  onGraphStyleChange  =  useCallback ( ( graphStyle : ExploreGraphStyle )  =>  { 
7073    storeGraphStyle ( graphStyle ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments