Replies: 4 comments
-
sorry i got it now, these must be added befor DockArea initialisation still dont know why central dock doesnt get color #!/usr/bin/env python3 import finplot as fplt from resample import Resample_DataFrame mainly color updations for fpltfplt.cross_hair_color = 'white' app = QApplication([]) Set width/height of QSplitterwin.setStyleSheet("QSplitter { width : 20px; height : 10px; }") Create docksltf_dock = Dock("lower time", size = (1000, 100), closable = False) Chart for docksax0,ax1,ax2 = fplt.create_plot_widget(master=area, rows=3) Link x-axisax0.setXLink(ax2) dataframesdf = pl.read_csv('data/nifty/nifty.csv') d5m = Resample_DataFrame(df, '5m') d15m = Resample_DataFrame(df, '15m') d75m = Resample_DataFrame(df, '1d') ltf_df = ltf_df["open close high low".split()] plot_5min = fplt.candlestick_ochl(ltf_df, candle_width=0.8, ax = ax0) now update color for each dock chartplot_5min.colors.update({ fplt.show(qt_exec = False) # prepares plots when they're all setup |
Beta Was this translation helpful? Give feedback.
-
This is what I am getting, |
Beta Was this translation helpful? Give feedback.
-
There are two background colors, intended for alternating rows in order to distinguish them better. They are called |
Beta Was this translation helpful? Give feedback.
-
Thank you |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
i am trying to set background color to DockArea, but no information vailable to it,
how do i do it.
Beta Was this translation helpful? Give feedback.
All reactions