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; }
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; }
public void AddMarker(GraphMarker m) { Markers.Add(m); sceneChanged = true; }