예제 #1
0
파일: Structs.cs 프로젝트: zenwalk/gridda
        public GraphItem(GraphItem graphItem, int stationIndex, String name)
        {
            mStationIndex = stationIndex;
            mName         = name;

            mMarkerFillColor    = graphItem.mMarkerFillColor;
            mMarkerOutlineColor = graphItem.mMarkerOutlineColor;
            mMarkerSize         = graphItem.mMarkerSize;
            mMarkerOutlineSize  = graphItem.mMarkerOutlineSize;
            mMarkerShape        = graphItem.mMarkerShape;

            mTrendLineColor = graphItem.mTrendLineColor;
            mTrendLine      = graphItem.mTrendLine;
            mTrendLineSize  = graphItem.mTrendLineSize;
        }
예제 #2
0
파일: Structs.cs 프로젝트: zenwalk/gridda
        public GraphItem(int stationIndex, String name)
        {
            mStationIndex = stationIndex;
            mName         = name;

            mMarkerFillColor    = genRandom();
            mMarkerOutlineColor = invert(mMarkerFillColor);
            mMarkerSize         = 4.0f;
            mMarkerOutlineSize  = 1.0f;
            mMarkerShape        = GraphMarker.Circle;

            mTrendLineColor = Color.Black;
            mTrendLine      = false;
            mTrendLineSize  = 1.0f;
        }
예제 #3
0
 public void AddMarker(GraphMarker m)
 {
     Markers.Add(m);
     sceneChanged = true;
 }