Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • predi predi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 24
    • Issues 24
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kjetil Thuen
  • predipredi
  • Issues
  • #60

Closed
Open
Created Feb 08, 2015 by Kjetil Thuen@kjetilMaintainer

Feed the timeline sensible values when no trades have been done

Currently the timeline widget will get an emtpy vector if no trades have been done and the administrator has not explicitly set the prices.

This leads to an ugly chart, and it confuses d3 when the first trade is done.

In this situation the prices would be 100/(number of contracts) for each contract. This fact should be leveraged, and faux set-price events should be injected when no actual set-price events actually exists.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking