Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. What is the correct format for a set to append a new candlestickset to a candlestickseries?
Forum Updated to NodeBB v4.3 + New Features

What is the correct format for a set to append a new candlestickset to a candlestickseries?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
2 Posts 2 Posters 181 Views 1 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.
  • G Offline
    G Offline
    Georges007
    wrote on last edited by Georges007
    #1

    I have been trying various ways of defining a new candlestickset item so I can use the "append(set)" function of the candlestickseries, but I can't seem to find the correct way of defining it.

    function a(open, high, low, close, timestamp) {
        var i = ???
        cs.append(i)
    }
    
    CandleStickSerie {
        id: cs
    }
    
    1 Reply Last reply
    0
    • P Offline
      P Offline
      Padlock
      wrote on last edited by
      #2

      Shouldn't the parameter for append () be a CandlestickSet?

      CandlestickSet { id: theID; timestamp: 1435708800000; open: 690; high: 694; low: 599; close: 660 }
      
      cs.append(theID)
      
      1 Reply Last reply
      0

      • Login

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