Пример #1
0
        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
        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;
 }