constants.d.ts 702 B

123456789101112131415161718192021222324252627282930313233
  1. /**
  2. * 默认配置项
  3. */
  4. export declare const DEFAULT_OPTIONS: {
  5. appendPadding: number;
  6. tooltip: {
  7. showTitle: boolean;
  8. shared: boolean;
  9. showMarkers: boolean;
  10. customContent: (x: string, data: any[]) => string;
  11. containerTpl: string;
  12. itemTpl: string;
  13. domStyles: {
  14. 'g2-tooltip': {
  15. padding: string;
  16. fontSize: string;
  17. };
  18. };
  19. showCrosshairs: boolean;
  20. crosshairs: {
  21. type: "x";
  22. };
  23. };
  24. color: string;
  25. areaStyle: {
  26. fillOpacity: number;
  27. };
  28. line: {
  29. size: number;
  30. color: string;
  31. };
  32. animation: {};
  33. };