Any pointers on how to get my current line graph
Looking more like
Some questions:
1. Somehow I still see the marks on the line of the cross sections, so the line is not 1 smooth full color line
2. How do you enable the color fill from the bottom axes to the line?
3. Is there any graph touch interaction possible on the xamarin forms version, so that the user can move it's finger over the graph and we show a label at the mark selected?
Thanks
Line graph detail
Re: Line graph detail
Hi,
I'm just preparing a very similar example to you. I'll upload it on our Steema github account today. I'll advise.
I'm just preparing a very similar example to you. I'll upload it on our Steema github account today. I'll advise.
Pep Jorge
http://support.steema.com
http://support.steema.com
Re: Line graph detail
I've uploaded a similar example on our github account which includes all the functionality you were asking. You can find it here :
https://github.com/Steema/teechart-xama ... PointerSTD
https://github.com/Steema/teechart-xama ... PointerSTD
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 22
- Joined: Tue Aug 08, 2017 12:00 am
Re: Line graph detail
Thanks!! Will take a look at it an try this out
-
- Newbie
- Posts: 22
- Joined: Tue Aug 08, 2017 12:00 am
Re: Line graph detail
The github code is working great!
Only 1 small question still... if you look at my sample image, you will notice a 15 at the bottom.
This because I added DateTime values for the graph and set the Bottom Axes as follows:
AreaLineChart.Chart.Axes.Bottom.Increment = Steema.TeeChart.Utils.GetDateTimeStep(DateTimeSteps.OneYear);
AreaLineChart.Chart.Axes.Bottom.Labels.DateTimeFormat = "yy";
Now my question, although I increment per Year, the data also contains 2014 values. Can I make sure the left lower corner also has 14 visible?
Only 1 small question still... if you look at my sample image, you will notice a 15 at the bottom.
This because I added DateTime values for the graph and set the Bottom Axes as follows:
AreaLineChart.Chart.Axes.Bottom.Increment = Steema.TeeChart.Utils.GetDateTimeStep(DateTimeSteps.OneYear);
AreaLineChart.Chart.Axes.Bottom.Labels.DateTimeFormat = "yy";
Now my question, although I increment per Year, the data also contains 2014 values. Can I make sure the left lower corner also has 14 visible?
Re: Line graph detail
Hi Glenn,
some options here :
One way would by trying to add an extra offset for the bottom axis minimum and maximum :
If this doesn't help, you can also add custom axis labels manually , please take a look at the following post, and in the case you still having problems let me know, so we can try to find a solution :
http://www.teechart.net/support/viewtopic.php?t=8392
some options here :
One way would by trying to add an extra offset for the bottom axis minimum and maximum :
Code: Select all
chart.Axes.Bottom.MinimumOffset = 100;
http://www.teechart.net/support/viewtopic.php?t=8392
Pep Jorge
http://support.steema.com
http://support.steema.com
-
- Newbie
- Posts: 22
- Joined: Tue Aug 08, 2017 12:00 am
Re: Line graph detail
Awesome, bottom.MinimumOffset and MaximumOffset does the trick, thanks!