Anybody know how to change colors of labels in tredingview charts or replace theme to dark?
function initTradingView(pair, minutes, id) {
var widget = window.tvWidget = new TradingView.widget({
fullscreen: false,
width: "100%",
symbol: pair,
debug: false,
interval: minutes,
timeframe: '1D',
container_id: id,
datafeed: new Datafeeds.UDFCompatibleDatafeed("http://igt-crypto.net/api/feed", 5000),
style: "1",
// withdateranges: true,
toolbar_bg: "#292d44",
library_path: "/charting_library/",
locale: "ru",
drawings_access: {type: 'white', tools: [{name: "Regression Trend"}]},
disabled_features: ['left_toolbar', 'header_symbol_search', 'header_resolutions', 'header_interval_dialog_button', 'show_interval_dialog_on_key_press', 'header_chart_type', 'header_settings', 'header_indicators', 'header_compare', 'header_undo_redo', 'header_fullscreen_button', 'header_saveload', 'header_screenshot', 'timeframes_toolbar', 'go_to_date', 'legend_context_menu', 'edit_buttons_in_legend', 'display_market_status', 'adaptive_logo', 'show_logo_on_all_charts'],
overrides: {
"symbolWatermarkProperties.color": "rgba(0, 0, 0, 0)"
},
loading_screen: {backgroundColor: "#292d44"},
border_around_the_chart: 'off'
});
}
I dont understand their documentation...
Aucun commentaire:
Enregistrer un commentaire