@kodiak-finance/orderly-chart 2.9.2-alpha.1 → 2.9.3
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.
- package/dist/index.js +15 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -123,7 +123,7 @@ var OrderlyChartTooltip = (props) => {
|
|
|
123
123
|
size: "sm",
|
|
124
124
|
coloring,
|
|
125
125
|
showIdentifier: coloring,
|
|
126
|
-
unitClassName: "oui-text-base-contrast-54 oui-
|
|
126
|
+
unitClassName: "oui-text-base-contrast-54 oui-ms-1",
|
|
127
127
|
weight: "semibold",
|
|
128
128
|
rm,
|
|
129
129
|
dp,
|
|
@@ -210,6 +210,8 @@ var XAxisLabel = (props) => {
|
|
|
210
210
|
y: 0,
|
|
211
211
|
dy: 16,
|
|
212
212
|
textAnchor: index === 0 ? "start" : "end",
|
|
213
|
+
direction: "ltr",
|
|
214
|
+
unicodeBidi: "plaintext",
|
|
213
215
|
fontSize: 10,
|
|
214
216
|
fill: "rgba(var(--oui-color-base-foreground)/0.54)",
|
|
215
217
|
children: index === 0 ? payload.value : t("chart.now")
|
|
@@ -263,6 +265,7 @@ var PnLBarChart = (props) => {
|
|
|
263
265
|
BarChart,
|
|
264
266
|
{
|
|
265
267
|
data,
|
|
268
|
+
style: { direction: "ltr" },
|
|
266
269
|
margin: { left: -10, top: 10, right: 10, bottom: 30 },
|
|
267
270
|
children: [
|
|
268
271
|
!invisible && /* @__PURE__ */ jsx(
|
|
@@ -331,6 +334,8 @@ var XAxisLabel2 = (props) => {
|
|
|
331
334
|
y: 0,
|
|
332
335
|
dy: 16,
|
|
333
336
|
textAnchor: "end",
|
|
337
|
+
direction: "ltr",
|
|
338
|
+
unicodeBidi: "plaintext",
|
|
334
339
|
fontSize: 10,
|
|
335
340
|
fill: "rgba(var(--oui-color-base-foreground)/0.54)",
|
|
336
341
|
children: index === 0 ? payload.value : t("chart.now")
|
|
@@ -371,6 +376,7 @@ var PnlLineChart = (props) => {
|
|
|
371
376
|
LineChart,
|
|
372
377
|
{
|
|
373
378
|
data,
|
|
379
|
+
style: { direction: "ltr" },
|
|
374
380
|
margin: { top: 20, right: 10, left: -10, bottom: 0 },
|
|
375
381
|
children: [
|
|
376
382
|
/* @__PURE__ */ jsx(
|
|
@@ -473,6 +479,7 @@ var PnlAreaChart = (props) => {
|
|
|
473
479
|
AreaChart,
|
|
474
480
|
{
|
|
475
481
|
data,
|
|
482
|
+
style: { direction: "ltr" },
|
|
476
483
|
margin: { top: 20, right: 10, left: -10, bottom: 0 },
|
|
477
484
|
children: [
|
|
478
485
|
/* @__PURE__ */ jsx(
|
|
@@ -583,6 +590,7 @@ var VolumeAreaChart = (props) => {
|
|
|
583
590
|
AreaChart,
|
|
584
591
|
{
|
|
585
592
|
data,
|
|
593
|
+
style: { direction: "ltr" },
|
|
586
594
|
margin: { top: 20, right: 10, left: -10, bottom: 0 },
|
|
587
595
|
children: [
|
|
588
596
|
/* @__PURE__ */ jsx(
|
|
@@ -1874,6 +1882,7 @@ var AssetLineChart = (props) => {
|
|
|
1874
1882
|
width: 530,
|
|
1875
1883
|
height: 180,
|
|
1876
1884
|
data: props.data,
|
|
1885
|
+
style: { direction: "ltr" },
|
|
1877
1886
|
margin: { top: 20, right: 10, left: -20, bottom: -10 },
|
|
1878
1887
|
children: [
|
|
1879
1888
|
/* @__PURE__ */ jsx(
|
|
@@ -1947,6 +1956,7 @@ var AssetLineChart = (props) => {
|
|
|
1947
1956
|
width: 530,
|
|
1948
1957
|
height: 180,
|
|
1949
1958
|
data: props.data,
|
|
1959
|
+
style: { direction: "ltr" },
|
|
1950
1960
|
margin: { top: 20, right: 10, left: -20, bottom: -10 },
|
|
1951
1961
|
children: [
|
|
1952
1962
|
/* @__PURE__ */ jsx(
|
|
@@ -2036,6 +2046,7 @@ var AssetAreaChart = (props) => {
|
|
|
2036
2046
|
width: 530,
|
|
2037
2047
|
height: 180,
|
|
2038
2048
|
data: props.data,
|
|
2049
|
+
style: { direction: "ltr" },
|
|
2039
2050
|
margin: { top: 20, right: 10, left: -20, bottom: -10 },
|
|
2040
2051
|
children: [
|
|
2041
2052
|
/* @__PURE__ */ jsx(
|
|
@@ -2148,6 +2159,8 @@ var XAxisLabel3 = (props) => {
|
|
|
2148
2159
|
y: 0,
|
|
2149
2160
|
dy: 16,
|
|
2150
2161
|
textAnchor: index === 0 ? "start" : "end",
|
|
2162
|
+
direction: "ltr",
|
|
2163
|
+
unicodeBidi: "plaintext",
|
|
2151
2164
|
fontSize: 10,
|
|
2152
2165
|
fill: "rgba(var(--oui-color-base-foreground)/0.54)",
|
|
2153
2166
|
children: index === 0 ? payload.value : t("chart.now")
|
|
@@ -2213,6 +2226,7 @@ var VolBarChart = (props) => {
|
|
|
2213
2226
|
BarChart,
|
|
2214
2227
|
{
|
|
2215
2228
|
data: props.data,
|
|
2229
|
+
style: { direction: "ltr" },
|
|
2216
2230
|
margin: { left: -10, top: 10, right: 10, bottom: 30 },
|
|
2217
2231
|
children: [
|
|
2218
2232
|
!props.invisible && /* @__PURE__ */ jsx(
|