Search in sources :

Example 6 with TimelineChart

use of name.abuchen.portfolio.ui.util.chart.TimelineChart in project portfolio by buchen.

the class ConsumerPriceIndexListView method createBottomTable.

@Override
protected void createBottomTable(Composite parent) {
    chart = new TimelineChart(parent);
    chart.getTitle().setText(Messages.LabelConsumerPriceIndex);
    // $NON-NLS-1$
    chart.getToolTip().setDateFormat("%1$tB %1$tY");
    refreshChart();
}
Also used : TimelineChart(name.abuchen.portfolio.ui.util.chart.TimelineChart)

Aggregations

TimelineChart (name.abuchen.portfolio.ui.util.chart.TimelineChart)6 DecimalFormat (java.text.DecimalFormat)3 Composite (org.eclipse.swt.widgets.Composite)3 DataSeriesCache (name.abuchen.portfolio.ui.views.dataseries.DataSeriesCache)2 DataSeriesChartLegend (name.abuchen.portfolio.ui.views.dataseries.DataSeriesChartLegend)2 DataSeriesConfigurator (name.abuchen.portfolio.ui.views.dataseries.DataSeriesConfigurator)2 PerformanceChartSeriesBuilder (name.abuchen.portfolio.ui.views.dataseries.PerformanceChartSeriesBuilder)1 StatementOfAssetsSeriesBuilder (name.abuchen.portfolio.ui.views.dataseries.StatementOfAssetsSeriesBuilder)1 GC (org.eclipse.swt.graphics.GC)1 Point (org.eclipse.swt.graphics.Point)1 Label (org.eclipse.swt.widgets.Label)1