String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));
/** * Returns a string representation of this entity. This is primarily * useful for debugging. * * @return A string representation of this entity. */ @Override public String toString() { StringBuilder sb = new StringBuilder("CategoryLabelEntity: "); sb.append("category="); sb.append(this.key); sb.append(", tooltip=").append(getToolTipText()); sb.append(", url=").append(getURLText()); return sb.toString(); } }
private void decodeCategoryLabelInfo(Area area, CategoryLabelEntity info, Chart chart) { final Comparable category = info.getKey(); area.setAttribute("category", category); if (chart.isShowTooltiptext() && info.getToolTipText() == null) { area.setTooltiptext(category.toString()); } }
/** * Returns a string representation of this entity. This is primarily * useful for debugging. * * @return A string representation of this entity. */ public String toString() { StringBuffer buf = new StringBuffer("CategoryLabelEntity: "); buf.append("category="); buf.append(this.key); buf.append(", tooltip=" + getToolTipText()); buf.append(", url=" + getURLText()); return buf.toString(); } }
String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));
tick.getCategory()); String url = getCategoryLabelURL(tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, url));
String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));
String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));
String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));
String tooltip = getCategoryLabelToolTip( tick.getCategory()); entities.add(new CategoryLabelEntity(tick.getCategory(), bounds, tooltip, null));