@qn-pandora/pandora-visualization
Version:
Pandora 通用可视化库
54 lines (53 loc) • 1.43 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.valueLabelOptions = exports.lineOptions = exports.pointOptions = void 0;
var chart_style_1 = require("./chart-style");
var type_1 = require("./language/base/type");
var type_2 = require("./language/two_dimension/type");
var locale = type_1.BaseLocale.point;
exports.pointOptions = [
{
text: locale.options.circle,
value: chart_style_1.EPoint.Circle
},
{
text: locale.options.rect,
value: chart_style_1.EPoint.Rect
},
{
text: locale.options.arrow,
value: chart_style_1.EPoint.Arrow
},
{
text: locale.options.diamond,
value: chart_style_1.EPoint.Diamond
},
{
text: locale.options.none,
value: chart_style_1.EPoint.None
}
];
exports.lineOptions = [
{
item: type_2.TowDimensionLocale.line.line_style.smooth,
value: true
},
{
item: type_2.TowDimensionLocale.line.line_style.not_smooth,
value: false
}
];
exports.valueLabelOptions = [
{
item: type_1.BaseLocale.off,
value: chart_style_1.ILineMarkPointType.Hide
},
{
item: type_1.BaseLocale.on,
value: chart_style_1.ILineMarkPointType.Show
},
{
item: type_2.TowDimensionLocale.line.valueLabelShow.min_and_max,
value: chart_style_1.ILineMarkPointType.MinAndMax
}
];