OpenBB icon indicating copy to clipboard operation
OpenBB copied to clipboard

[Bug] Charts With Candlestick Overload Do Weird Things

Open deeleeramone opened this issue 1 year ago • 2 comments

Describe the bug

Compiled Javascript/Typescript code creates issues, this is related to the overload handling.

image

To Reproduce

from openbb import obb

data = obb.equity.price.historical("AAPL", start_date="2000-01-01", provider="yfinance", chart=True)
data.show()

Then zoom in or pan.

Unclear what the consequences of these error messages are:

node_modules/@radix-ui/react-dialog/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dialog/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-presence/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-presence/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-focus-guards/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-focus-guards/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-portal/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-portal/dist/index.mjs" was ignored.
node_modules/@radix-ui/react-focus-scope/dist/index.mjs (1:0) Module level directives cause errors when bundled, "use client" in "node_modules/@radix-ui/react-focus-scope/dist/index.mjs" was ignored.

deeleeramone avatar Jul 08 '24 18:07 deeleeramone

What are we supposed to solve? Can you elaborate?

epicabbas avatar Aug 19 '24 03:08 epicabbas

Is this error because the "use client" directive is not supported by the bundler at the module level?

alirashidAR avatar Oct 21 '24 16:10 alirashidAR