Hi,
APEX 23.2
I have a combo chart with multi-series. The last in the series is always a line chart. The queries for the chart/series are dynamic.
and the properties are set after the chart load as
// Orientation, Stack, Legend Position, X/Y Labels
apex.region("chartID").widget().ojChart({
type: chartType,
orientation: pParams.orientation,
stack: pParams.stack,
stackLabel: pParams.stack,
hiddenCategories: pHiddenCategories,
legend: {
rendered: pParams.showLegend,
position: pParams.legendPosition,
backgroundColor: pParams.legendColour
},
xAxis: {
title: pParams.xAxisLabel
},
yAxis: {
title: pParams.yAxisLabel,
referenceObjects: pParams.refObj,
tickLabel: {
converter: yAxisConverter,
scaling: 'none'
}
},
styleDefaults: {
lineType: pParams.pLineType,
dataLabelPosition: pParams.dataLabelPosition
},
valueFormats: {
label: {
scaling: pParams.pValueFormatting
}
}
});
For the dataLabelPosition – How do I set different values for different series?
For ex the first series (eg bar), I want it to be “outsideBarEdge” and for line chart I want it to be “auto” or “none”. These values are parameterised.
Please suggest.
Thanks,