pace-chart-lib 1.0.58 → 1.0.59
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -58061,7 +58061,7 @@ function mapFormatOptionsToChartJS(formatOptions, chartType, hasSecondaryAxis =
|
|
|
58061
58061
|
if (isHorizontal) {
|
|
58062
58062
|
opts.scales = {
|
|
58063
58063
|
x: { ...yScaleOptions, position: "bottom" },
|
|
58064
|
-
y: { ...xScaleOptions, position: "left" }
|
|
58064
|
+
y: { ...xScaleOptions, position: "left", reverse: true }
|
|
58065
58065
|
};
|
|
58066
58066
|
if (opts.scales.x.title) {
|
|
58067
58067
|
opts.scales.x.title.text = formatOptions.yAxisTitle?.yAxisTitleText ?? "Measure";
|
|
@@ -58064,7 +58064,7 @@
|
|
|
58064
58064
|
if (isHorizontal) {
|
|
58065
58065
|
opts.scales = {
|
|
58066
58066
|
x: { ...yScaleOptions, position: "bottom" },
|
|
58067
|
-
y: { ...xScaleOptions, position: "left" }
|
|
58067
|
+
y: { ...xScaleOptions, position: "left", reverse: true }
|
|
58068
58068
|
};
|
|
58069
58069
|
if (opts.scales.x.title) {
|
|
58070
58070
|
opts.scales.x.title.text = formatOptions.yAxisTitle?.yAxisTitleText ?? "Measure";
|