Exemplo n.º 1
0
 private void Awake()
 {
     viewport   = this.transform.Find("Viewport") as RectTransform;
     content    = viewport.Find("Content") as RectTransform;
     xAxis      = this.transform.Find("X Axis").gameObject;
     yAxis      = this.transform.Find("Y Axis").gameObject;
     xUnitLabel = this.transform.Find("X Unit Label").gameObject;
     yUnitLabel = this.transform.Find("Y Unit Label").gameObject;
     valueList  = new List <KeyValuePair <string, int> >();
     parameter  = LineGraphParameter.Default;
 }
Exemplo n.º 2
0
    /// <summary>
    /// LineGraphParameterでパラメータを変更する
    /// </summary>
    /// <param name="param">Parameter.</param>
    public void ChangeParam(LineGraphParameter param)
    {
        this.parameter = param;

        RefleshGraph();
    }