1*d8d4b902SIngo Weinhold /* 2*d8d4b902SIngo Weinhold * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. 3*d8d4b902SIngo Weinhold * Distributed under the terms of the MIT License. 4*d8d4b902SIngo Weinhold */ 5*d8d4b902SIngo Weinhold #ifndef NANOTIME_CHART_AXIS_LEGEND_SOURCE_H 6*d8d4b902SIngo Weinhold #define NANOTIME_CHART_AXIS_LEGEND_SOURCE_H 7*d8d4b902SIngo Weinhold 8*d8d4b902SIngo Weinhold 9*d8d4b902SIngo Weinhold #include "chart/ChartAxisLegendSource.h" 10*d8d4b902SIngo Weinhold 11*d8d4b902SIngo Weinhold 12*d8d4b902SIngo Weinhold class NanotimeChartAxisLegendSource : public ChartAxisLegendSource { 13*d8d4b902SIngo Weinhold public: 14*d8d4b902SIngo Weinhold virtual int32 GetAxisLegends(const ChartDataRange& range, 15*d8d4b902SIngo Weinhold ChartLegend** legends, double* values, 16*d8d4b902SIngo Weinhold int32 maxLegends); 17*d8d4b902SIngo Weinhold }; 18*d8d4b902SIngo Weinhold 19*d8d4b902SIngo Weinhold 20*d8d4b902SIngo Weinhold #endif // NANOTIME_CHART_AXIS_LEGEND_SOURCE_H 21