<div dir="ltr">Great progress Raphael!<div><br></div><div>Please update your git and then run 'git diff' and send me a patch as I would like to test your work locally here as well in case there are any comments to be made now.</div><div><br></div><div>Regards,</div><div>Jasem</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 11:33 PM, Raphael Cojocaru <span dir="ltr"><<a href="mailto:raphael.cojocaru@yahoo.com" target="_blank">raphael.cojocaru@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px">

<div dir="ltr">Hi. <br>
I am currently working on "Improve Altitude vs. Time tool" task and here is a brief overview on my work. I
implemented the Altitude vs. Time tool with QCustomPlot library and until now I
have solved the following:<br>
- Set up the graph window<br>
- Set up the axis labels, Date time format and tick step ( the time's units
need to be discrete like: 01:00, 02:00 )<br>
- Set up the Top X Axis ( "Local Sidereal Time" )<br>
- Set up the interaction set: Zoom/Pan are now ready for use<br>
- Set up the margins, for a nice view ( e.g. in the right side, the graph window
was not closed before)<br>
- Set up the Zoom/Pan activated for the Top X Axis <br>
- Because I need a kind of limitation regarding the Zoom/Pan for the current
curve, I have used:<br>
1. 2 variables for minimum and maximum altitude from the current graph ( for
every curve that we insert into our graph, the minAlt and maxAlt variables are
updated )<br>
2. these variables are extremely useful to limit the Y axis to our graph most insignificant
curve regarding the minimum and maximum value<br>
3. 2 new slots: onXRangeChanged and onYRangeChanged, to update and limit the
axis<br>
- With all of these, I have connected the slots to the axis, with one remark:
the xAxis and xAxis2 are connected through the same slot, to behave as same<br>
- Rewrite the code for making existing curves with thin and red pencil<br>
- A short algorithm for setting up the tick step for xAxis and xAxis2 depending
on the Zoom level ( like: a half an hour after some zoom level: 1:30, 2:00; a
quarter hour after another zoom level and so on. this is necessary because
there wouldn't be anything to see if the initial tick step would be maintained
while continuously zooming )<br>
- Rewrite the method for removing all curves from the plot ( cleaning the graph
)<br>
<br>
For now I have a small bug to fix: after some scrolls ( Zoom In ), the Top X
axis and Bottom X axis values become the same. ( the delay for the Top X Axis disappears
). So I'm trying to solve it. I will post a new patch with all these achievements
immediately after I solve this bug.<br>
Next, I will search and implement a method to show curves' name in the chart,
and I also have to compute and indicate the Rise/Transit/Set points on the
curve. Regarding the gradient, I will leave it at the end. <br><span class="HOEnZb"><font color="#888888"><br>Raphael<br></font></span></div>

<div> </div><div dir="ltr">

</div></div></div><br>_______________________________________________<br>
Kstars-devel mailing list<br>
<a href="mailto:Kstars-devel@kde.org">Kstars-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kstars-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/kstars-devel</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Best Regards,<br>Jasem Mutlaq<br></div><div><br></div></div></div>
</div>