implementing extra functionality's to the previous project.
Description chart project 2 for Petr Husek.
How to handle “lines”
some indicators return a line with a known start and endpoint (both, normally only the endpoint, could change
over time and the change needs to be updated in the charts as well).
It could easily happen that in the same time frame, there are multiple values / lines.
It could look something like this.
X-axis from 20120101 to 20120301
startpointDBDate = 20120101
endPointDBDate = 20120201
startvalue = 100
endvalue = 150
startpointDBDate = 20120114
endPointDBDate = 20120128
startvalue = 110
endvalue = 120
startpointDBDate = 20120203
endPointDBDate = 20120228
startvalue = 125
endvalue = 140
Keeping track of their values and breakout point etc. calculation wise is no problem. But what would be best
practice to add these lines in a chart and / or update them when needed? Please advise.
Example: (see chart in pdf in the attchment)
Make the series click-able to change it's properties. Say the color or for the price for instance change it from
candlesticks to bars, or line chart.
Extra click-able features for indicators; adjust the parameters and recalculate the values and repaint it on the
Make the different area's sizable (I made a movie with what I mean)
Be able to drag and indicator to the chart, let the property window pop-up and on hit enter / OK let the indicator
be drawn (see movie for what I mean).
Make a zoom function that specifically zooms in on an the chart including the y-axis zoom. (see movie) and rescale
it to fit the y-axis with one button
Create a method to delete an indicator from a chart area (if there is still another series in the area, let the area
stay, if the area is empty, delete the area)
Please refer to the movie “example of chart [url removed, login to view]” which you received on the 9th of October.