constants.d.ts 819 B

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