private HashMap<String, TimelineChart> chartInstanceMapNameKey;
private HashMap<Integer, TimelineChart> chartInstanceMapTypeKey;
- private HashMap<Long, UserCustomChart> customChartMap;
+ private HashMap<Integer, UserCustomChart> customChartMap;
private DAChartBoard chartBoard = null;
private CustomLogParser customLogParser = null;
selectedChartList = new ArrayList<TimelineChart>();
chartInstanceMapNameKey = new HashMap<String, TimelineChart>();
chartInstanceMapTypeKey = new HashMap<Integer, TimelineChart>();
- customChartMap = new HashMap<Long, UserCustomChart>();
+ customChartMap = new HashMap<Integer, UserCustomChart>();
customLogParser = new CustomLogParser(this);
}
public void addCustomChart(UserCustomChart customChart) {
- long chartType = customChart.getChartType();
+ int chartType = customChart.getChartType();
if (!customChartMap.containsKey(chartType)) {
customChartMap.put(chartType, customChart);
chartList.add(customChart);