tradingview / lightweight-charts

Performant financial charts built with HTML5 canvas
https://www.tradingview.com/lightweight-charts/
Apache License 2.0
9.37k stars 1.61k forks source link

How to make right side graph faded in color, while scroling the from right to left : Tradingview light Android #1545

Open deepakkanyan opened 7 months ago

deepakkanyan commented 7 months ago

I want this functionality below in image.

I am using android/Kotlin I am using tradingview-lightweightchart lib.

acive-2

SlicedSilver commented 7 months ago

In principle this is similar to these two plugin examples:

and the code for these examples is within this folder: https://github.com/tradingview/lightweight-charts/tree/master/plugin-examples

and finally some documentation on Plugins: https://tradingview.github.io/lightweight-charts/docs/plugins/intro

deepakkanyan commented 7 months ago

I have no knowledge of Typescript. Is there any direct way? Like I'm using Android wrapper for lightweight.

SlicedSilver commented 5 months ago

Currently plugins aren't supported with the Android wrapper library, and there isn't a built-in way to achieve that exact appearance without the usage of Plugins.

You could look into using the library without a wrapper (using WebViews).