Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QCandlestickSet too thick!!
Qt 6.11 is out! See what's new in the release blog

QCandlestickSet too thick!!

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MiC78
    wrote on last edited by MiC78
    #1

    Hi everybody,
    I am relatively new in QT... So I wondered if someone knows how to reduce the thickness of the candlesticks when they are painted in a QChart.

    If for example a want to show in a Chart one-year data the candlesticks overlap and the effect is quite annoying.

    Thank you very much in advance

    0_1517347337066_Candlesticks overlaped.png

    Actualy, I would appreciate ever more if someone knows how to select ohlc bars instead of the candlestick bars. That would be awesome!!

    raven-worxR 1 Reply Last reply
    0
    • M MiC78

      Hi everybody,
      I am relatively new in QT... So I wondered if someone knows how to reduce the thickness of the candlesticks when they are painted in a QChart.

      If for example a want to show in a Chart one-year data the candlesticks overlap and the effect is quite annoying.

      Thank you very much in advance

      0_1517347337066_Candlesticks overlaped.png

      Actualy, I would appreciate ever more if someone knows how to select ohlc bars instead of the candlestick bars. That would be awesome!!

      raven-worxR Offline
      raven-worxR Offline
      raven-worx
      Moderators
      wrote on last edited by
      #2

      @MiC78 said in QCandlestickSet too thick!!:

      If for example a want to show in a Chart one-year data the candlesticks overlap and the effect is quite annoying.

      but isn't it obvious that when you put too much data into a chart that it would overlap upon some point?!?
      You should rather either simplify the data before inserting it into the chart or chose a different more appropriate chart.

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      M 1 Reply Last reply
      0
      • raven-worxR raven-worx

        @MiC78 said in QCandlestickSet too thick!!:

        If for example a want to show in a Chart one-year data the candlesticks overlap and the effect is quite annoying.

        but isn't it obvious that when you put too much data into a chart that it would overlap upon some point?!?
        You should rather either simplify the data before inserting it into the chart or chose a different more appropriate chart.

        M Offline
        M Offline
        MiC78
        wrote on last edited by
        #3

        Hi raven-worx,

        Yes, if you put too much data into a chart it would overlap.
        But sometimes I need to see as much data as I can and I would like to narrow the width of the candlestick to achieve it.
        For example, in the next picture I show you one-year data. I know, they are not candlesticks but ohlc. It is just to show you the effect I am looking for.
        0_1517428571797_ohlc.png

        Anyone knows how to either narrow the candlsticks or use ohlc with QCharts?
        Thank you very much in advance.

        M 1 Reply Last reply
        0
        • M MiC78

          Hi raven-worx,

          Yes, if you put too much data into a chart it would overlap.
          But sometimes I need to see as much data as I can and I would like to narrow the width of the candlestick to achieve it.
          For example, in the next picture I show you one-year data. I know, they are not candlesticks but ohlc. It is just to show you the effect I am looking for.
          0_1517428571797_ohlc.png

          Anyone knows how to either narrow the candlsticks or use ohlc with QCharts?
          Thank you very much in advance.

          M Offline
          M Offline
          MiC78
          wrote on last edited by
          #4

          @MiC78

          What was I thinking...?
          Sometimes it is better to see the problem from outside of the box.

          The QCandlestickSeries has to wanderfull members:
          setMinimumColumnWidth();
          setMaximumColumnWidth();

          1 Reply Last reply
          2

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved