yb-blades-tst
Version:
It allows developers to visualize data in a variety of chart types such as line, bar, column, pie, and more.
35 lines (34 loc) • 924 B
text/typescript
export const defaultTitle = {
text: "Pie Chart",
className:'bg-black'
};
export const defaultLegend = {
reversed: true,
enabled: true
};
export const defaultXAxis = {};
export const defaultYAxis = {};
export const defaultZAxis = undefined;
export const defaultPlotOptions = { series: {
allowPointSelect: true,
cursor: 'pointer',
borderRadius: 8,
dataLabels: [{
enabled: true,
distance: 20,
format: '{point.name}'
}, {
enabled: true,
distance: -15,
format: '{point.y}',
style: {
fontSize: '0.9em'
}
}],
showInLegend: true
}};
export const defaultTooltip = { pointFormat: '{series.name}: <b>{point.y}</b>'};
export const defaultNoData = {};
export const defaultSubtitle = {};
export const defaultLoading = {};
export const defaultCaption = {};