dextools-io / chart-widget

DEXTools chart widget docs
49 stars 8 forks source link

tvPlatformColor and tvPaneColor do not work #9

Closed rockooor closed 10 months ago

rockooor commented 10 months ago

Those parameters that are in the readme do not work. Try for example this:

https://www.dextools.io/widget-chart/en/avalanche/pe-light/0xbcabb94006400ed84c3699728d6ecbaa06665c89?theme=dark&chartType=1&chartResolution=30&headerColor=020618&tvColorPlatformBackground=020618&tvPaneColor=020618

The headerColor is changed but the other two aren't. I tried to search for something in the inspector, and it seems the querystring logic that's there for headerColor isn't there for the other two.

image

Thanks a lot!

Dreamerryao commented 10 months ago

same problem

christophercr commented 10 months ago

@rockooor @Dreamerryao the issue should be solved now. Could you please double check?

BTW, one of the query params in the example URL you gave is wrong, it should be tvPlatformColor instead of tvColorPlatformBackground :wink:

So, this would be the correct URL: https://www.dextools.io/widget-chart/en/avalanche/pe-light/0xbcabb94006400ed84c3699728d6ecbaa06665c89?theme=dark&chartType=1&chartResolution=30&headerColor=020618&tvPlatformColor=020618&tvPaneColor=020618

rockooor commented 10 months ago

works! Thanks a lot for the quick fix :) I pasted the wrong querystring, tried some different options in case the docs had a type lol

christophercr commented 10 months ago

Ah ok. Great! 😉