Ejemplo n.º 1
0
 /// <summary>
 /// 设置获得标志图形大小的回调
 /// </summary>
 /// <param name="size"></param>
 /// <param name="selectedSize"></param>
 public void SetSerieSymbolSizeCallback(SymbolSizeCallback size, SymbolSizeCallback selectedSize)
 {
     foreach (var serie in m_Series)
     {
         serie.symbol.sizeCallback         = size;
         serie.symbol.selectedSizeCallback = selectedSize;
     }
 }
Ejemplo n.º 2
0
 public void Reset()
 {
     m_Show                 = false;
     m_Type                 = SerieSymbolType.EmptyCircle;
     m_SizeType             = SerieSymbolSizeType.Custom;
     m_Size                 = 0f;
     m_SelectedSize         = 0f;
     m_DataIndex            = 1;
     m_DataScale            = 1;
     m_SelectedDataScale    = 1.5f;
     m_SizeCallback         = null;
     m_SelectedSizeCallback = null;
     m_StartIndex           = 0;
     m_Interval             = 0;
     m_ForceShowLast        = false;
     m_Gap = 0;
 }
 public void Reset()
 {
     m_Show                 = false;
     m_Type                 = SerieSymbolType.EmptyCircle;
     m_SizeType             = SerieSymbolSizeType.Custom;
     m_Size                 = 0f;
     m_SelectedSize         = 0f;
     m_DataIndex            = 1;
     m_DataScale            = 1;
     m_SelectedDataScale    = 1.5f;
     m_SizeCallback         = null;
     m_SelectedSizeCallback = null;
     m_StartIndex           = 0;
     m_Interval             = 0;
     m_ForceShowLast        = false;
     m_Gap       = 0;
     m_Width     = 0f;
     m_Height    = 0f;
     m_Repeat    = false;
     m_Offset    = Vector2.zero;
     m_Image     = null;
     m_ImageType = Image.Type.Simple;
 }