DrawSerieTemplate.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /************************************************/
  2. /* */
  3. /* Copyright (c) 2018 - 2021 monitor1394 */
  4. /* https://github.com/monitor1394 */
  5. /* */
  6. /************************************************/
  7. using UnityEngine;
  8. using UnityEngine.UI;
  9. using UnityEngine.EventSystems;
  10. using XUGL;
  11. namespace XCharts
  12. {
  13. internal class DrawSerieTemplate : IDrawSerie
  14. {
  15. public BaseChart chart;
  16. public DrawSerieTemplate(BaseChart chart)
  17. {
  18. this.chart = chart;
  19. }
  20. public void InitComponent()
  21. {
  22. }
  23. public void CheckComponent()
  24. {
  25. }
  26. public void Update()
  27. {
  28. }
  29. public void DrawBase(VertexHelper vh)
  30. {
  31. }
  32. public void DrawSerie(VertexHelper vh, Serie serie)
  33. {
  34. }
  35. public void RefreshLabel()
  36. {
  37. }
  38. public bool CheckTootipArea(Vector2 local)
  39. {
  40. return false;
  41. }
  42. public bool OnLegendButtonClick(int index, string legendName, bool show)
  43. {
  44. return false;
  45. }
  46. public bool OnLegendButtonEnter(int index, string legendName)
  47. {
  48. return false;
  49. }
  50. public bool OnLegendButtonExit(int index, string legendName)
  51. {
  52. return false;
  53. }
  54. public void OnPointerDown(PointerEventData eventData)
  55. {
  56. }
  57. }
  58. }