How to use the @elastic/charts.AnnotationDomainTypes.XDomain function in @elastic/charts

To help you get started, we’ve selected a few @elastic/charts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github elastic / kibana / x-pack / legacy / plugins / ml / public / jobs / new_job / pages / components / charts / anomaly_chart / anomalies.tsx View on Github external
annotationId={getAnnotationId('minor')}
        domainType={AnnotationDomainTypes.XDomain}
        dataValues={severities.minor}
        style={getAnomalyStyle(ANOMALY_THRESHOLD.MINOR)}
        hideTooltips={true}
      />
      
      
    
  );
};
github elastic / kibana / src / legacy / core_plugins / vis_type_timeseries / public / visualizations / views / timeseries / index.js View on Github external
{annotations.map(({ id, data, icon, color }) => {
        const dataValues = generateAnnotationData(data, tooltipFormatter);
        const style = { line: { stroke: color } };

        return (
          }
            hideLinesTooltips={true}
            style={style}
          />
        );
      })}
github elastic / kibana / x-pack / legacy / plugins / ml / public / application / jobs / new_job / pages / components / charts / anomaly_chart / anomalies.tsx View on Github external
annotationId={getAnnotationId('minor')}
        domainType={AnnotationDomainTypes.XDomain}
        dataValues={severities.minor}
        style={getAnomalyStyle(ANOMALY_THRESHOLD.MINOR)}
        hideTooltips={true}
      />
      
      
    
  );
};