That is the only way to prevent scrolling past the enddate and startdate?
It doesn't work if using series.HorizAxis = HorizontalAxis.Both;
I have the date displaying on top axis with topAxis.Labels.DateTimeFormat = "d MMM";
and bottomAxis.Labels.DateTimeFormat = "hh:mm tt";
Any other suggestions?
Search found 16 matches
- Mon Jun 26, 2017 4:29 am
- Forum: .NET
- Topic: DateTime Axis Scroll
- Replies: 3
- Views: 10370
- Wed Mar 15, 2017 2:22 am
- Forum: .NET
- Topic: DateTime Axis Scroll
- Replies: 3
- Views: 10370
DateTime Axis Scroll
hi, i have a chart with a datetime x axis. I want to prevent scrolling beyond my start and end dates. How can I do this? I have tried this tChart.Chart.Axes.Bottom.SetMinMax(startDate, endDate); with no change. Also, how I can scroll to a specific date ? Tried this.. tChart.Axes.Bottom.Scroll(DateTi...
- Mon Mar 13, 2017 9:49 pm
- Forum: .NET
- Topic: Top and Bottom Axis
- Replies: 2
- Views: 8679
Re: Top and Bottom Axis
Thanks, it worked once I added the line you suggested - series.HorizAxis = HorizontalAxis.Both;
- Mon Mar 13, 2017 3:42 am
- Forum: .NET
- Topic: Top and Bottom Axis
- Replies: 2
- Views: 8679
Top and Bottom Axis
How do I show both the bottom and top axis on my chart? I want to show a 6hr increment on the bottom axis and a day increment on the top. It only shows the bottom axis. var bottomAxis = tChart.Axes.Bottom; bottomAxis.Automatic = true; bottomAxis.Ticks.Length = 1; bottomAxis.RelativePosition = 0; bot...
- Mon Mar 06, 2017 4:50 am
- Forum: .NET
- Topic: Draw Rectangle based on DateTime
- Replies: 4
- Views: 13107
Re: Draw Rectangle based on DateTime
Thanks, that works : )
- Thu Mar 02, 2017 2:05 am
- Forum: .NET
- Topic: Draw Rectangle based on DateTime
- Replies: 4
- Views: 13107
Re: Draw Rectangle based on DateTime
Thanks, but that doesn't stay in the right place when the chart allows panning.
Also, how do you draw more than one rectangle?
I have attached a sample image of what im after (basically indicating nighttime on the chart)
Also, how do you draw more than one rectangle?
I have attached a sample image of what im after (basically indicating nighttime on the chart)
- Tue Feb 28, 2017 12:42 am
- Forum: .NET
- Topic: Draw Rectangle based on DateTime
- Replies: 4
- Views: 13107
Draw Rectangle based on DateTime
Using xamarin.ios I need to draw rectangles on my chart based on a series xvalue which is a datetime.
ie from 6pm to 6am i need a rectangle drawn behind my main series.
how would i go about doing this?
ie from 6pm to 6am i need a rectangle drawn behind my main series.
how would i go about doing this?
- Thu Feb 16, 2017 10:00 pm
- Forum: .NET
- Topic: Transparency in Area Series
- Replies: 3
- Views: 10800
Re: Transparency in Area Series
Unfortunately this did not help to get rid of the vertical lines. Any other suggestions?
- Thu Feb 16, 2017 5:21 am
- Forum: .NET
- Topic: Transparency in Area Series
- Replies: 3
- Views: 10800
Transparency in Area Series
hi, i am unable to get a proper transparency in my area? I have tried setting it on the series and on the area and neither works. if i use a argb color on the series it kinda works but then these lines show up and i cant hide them? ie. series.Color = Color.FromArgb(58,214,214,214); using TeeChart.iO...
- Sun Dec 04, 2016 11:14 pm
- Forum: .NET
- Topic: Install Xamarin android library by hand
- Replies: 3
- Views: 9267
Re: Install Xamarin android library by hand
In my previous post, I thought I did mis-configure the installation of the licensed Chart library. However, it seems that the new library displayed all fonts incorrectly. It seems that it is a new feature, but unfortunately this new feature is not backward compatible. I had to go through all font si...
- Fri Dec 02, 2016 12:54 am
- Forum: .NET
- Topic: Install Xamarin android library by hand
- Replies: 3
- Views: 9267
Install Xamarin android library by hand
Hi, Using Xamarin.Android I did install TeeChart as a Xamarin Component the trial version of TeeChart. All was good. After buying the license, I wanted to install the official TeeChart library. What I did was the following: - In Xamarin studio, I edited the project 'References' and added TeeChart.An...
- Thu Oct 13, 2016 8:51 pm
- Forum: .NET
- Topic: Clicking on series does not always trigger the event handler
- Replies: 5
- Views: 14101
Re: Clicking on series does not always trigger the event handler
Thanks Jorge, Unfortunately it fixed one problem (detect where the Tap gesture recogniser is in relation to the graph) but broke the horizontal scrolling in the chart. Below is my pseudo code. Where I want to do different actions depending if the gesture recogniser is tap or pane. bool theChart_Clic...
- Tue Oct 11, 2016 9:10 pm
- Forum: .NET
- Topic: Scrolling for Xamarin/iOS
- Replies: 3
- Views: 9829
Re: Scrolling for Xamarin/iOS
HI Steema Support, Can you tell me how to get hscrollBar in Xamarin/iOS? In many samples, see below, you mention 'hscrollBar' but could not find anywhere in your documentation where you get this reference initialised. void tChart1_AfterDraw(object sender, Steema.TeeChart.WPF.Drawing.Graphics3D g) { ...
- Tue Oct 11, 2016 9:04 pm
- Forum: .NET
- Topic: Clicking on series does not always trigger the event handler
- Replies: 5
- Views: 14101
Re: Clicking on series does not always trigger the event handler
Hi All, My solution to this problem: Since clicking on the serie data points was not reliable in my experience (it worked 70%). I did re-implement all the code using the TChart.ClickBackground event handler where I had more control. I am not using TChart.ClickSeries any more. theChart.ClickBackgroun...
- Mon Oct 10, 2016 12:52 am
- Forum: .NET
- Topic: Clicking on series does not always trigger the event handler
- Replies: 5
- Views: 14101
Clicking on series does not always trigger the event handler
Hi All, Platform: Xamarin/iOS I want my app to display a detailed information about each data point every time the user clicks on the point. For this : - I am setting <TChar>.ClickSeries to call my event handler every time the user clicks on the data point of the serie. - I also setting <Serie>.Clic...