"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getAvailableChartTypes = void 0;
/**
 * Gets all available chart types for a query
 */
const getAvailableChartTypes = (metricQuery) => {
    const types = ['table'];
    if (metricQuery.metrics.length > 0 && metricQuery.dimensions.length > 0) {
        types.push('bar', 'horizontal', 'line', 'scatter', 'pie', 'funnel');
    }
    return types;
};
exports.getAvailableChartTypes = getAvailableChartTypes;
//# sourceMappingURL=getAvailableChartTypes.js.map