JorrinKievit / react-ts-tradingview-widgets

This is a React component library for TradingView Widgets
https://tradingview-widgets.jorrinkievit.xyz/
MIT License
154 stars 48 forks source link

underlineColor Not working #43

Closed TechnoZech closed 10 months ago

TechnoZech commented 11 months ago

For this Widget underlineColor Not working. Also, largeChartUrl is also not working in reactJS.

JorrinKievit commented 11 months ago

Will look at this next week, bit busy atm!

JorrinKievit commented 10 months ago

What exactly isnt working for the underlineColor? Seems to work for me: <MiniChart trendLineColor="rgba(0, 255, 255, 1)" underLineColor="rgba(0, 255, 0, 1)" underLineBottomColor="rgba(255, 0, 255, 0)"/>

image

largeChartUrl also seems to work for me: <MiniChart largeChartUrl="https://www.tradingview.com/chart/"/> when hovering over the widget: image

TechnoZech commented 10 months ago

What exactly isnt working for the underlineColor? Seems to work for me: <MiniChart trendLineColor="rgba(0, 255, 255, 1)" underLineColor="rgba(0, 255, 0, 1)" underLineBottomColor="rgba(255, 0, 255, 0)"/>

image

largeChartUrl also seems to work for me: <MiniChart largeChartUrl="https://www.tradingview.com/chart/"/> when hovering over the widget: image

  1. There was a spelling error in documentation for "underLineColor". PR raised.
  2. Custom redirect on largeCharturl?
JorrinKievit commented 10 months ago

Thanks! The way TradingView intended largeChartUrl to work is to have a custom AdvancedRealTimeChart page on your website, which you can redirect to if you click on the smaller widgets.

image