Hi,
I am use an example where the XamDataChart is a control that can be used in win forms. In the example the x Axis does not show. I am not sure how the styling functions work. How do I display the x Axis and format it to DateTime and set the interval to daily.
Thanks
Pieter
Hello Pieter,
I have created a support ticket on your behalf with number: CAS-52054-GHT6C8
You can follow on it from our website: https://es.infragistics.com/Membership/MySupport.aspx
Sincerely,
Petar Monov
Developer Support Engineer
Infragistics Bulgaria
www.infragistics.com/support
Pieter,
I've forwarded this to developer support so that they can help extract enough information to replicate the situation here. How does the data look for the chart at the beginning and the end of the triangle? Is there a lot of data for a short period of time at the beginning of the triangle with a large range of y values, and then a long gap with no values, and then another value?
If there is a lot of range in the y values then at zoomed out views you will see the line as a filled area that represents the range of values at that point, and then it will resolve into the actual line as you zoom in.
Because you have a long period of time with no values, it's possible that the ranged shape is just being attenuated toward the next value in the series. Is that what the data looks like? If you would like to have a discontinuity in your line where a discontinutity in the data exists, you could insert a double.NaN value in the series before each long pause of no values.
-Graham
Hi Graham,
Do you have any feedback on this post?
Can you maybe tell me why the tool is filling (making this red triangle) when there are no data for a period of time?
Thank You,
It will be a bit difficult to replicate the data on a sample project, I will have to send you the database. I think it’s defiantly something to do with the date format from SQL. When I limit my query to the last 48 hours the zoom function is working fine.
The data is coming in every minute.
I did try to use Category X Axis with the label setting you show but still no change.
Will it be possible for you to use TeamViewer and log onto my PC and take a look at the problem maybe I just have the wrong version or it’s something small.
If we can’t do that can you give me FTP details then I will give you the database and project.
My trail is going to expire at the end of this week and I need to give my boss the go ahead on this tool.
Are you able to replicate the issue in a sample project? If not we'll have to try and replicate this issue here, but I'm not sure how dependent the problem is on the shape of your data, or the frequency of the values.
What kind of volume is bound to the chart there? If it is time data, what is the frequency of the values? Even intervals or random?
How are you trying to set the label for the CategoryXAxis? If the property with your datetime is called Date then do something like this:
Label="{}{Date}"
or Label="{}{Date:hh:mm:ss}"
for example.