Hi, i'm trying to use xamDatachart using the LineSeries. I've set the thickness to 1 but it's still too thick a line to use. Using snoop i can see that 3 paths are actually created 1 with a fill and 2 with stroke applied. If remove the fill line and 1 of the path lines i get to what i want, an actual thin line.
I've attached 2 screenshots of before and after hiding the extra 2 paths.
Is there anyway to access these lines and remove them?
Hello Gleb,
Thank you for your post!
I have been looking into it. There are three paths in the LineSeries, currently only one of them is drawing the Series. Using a Snoop, when you hover over the Paths you would be able to see, that only one of them draws the line of the LineSeries.
What I can suggest is to set the Thickness property to a smaller value than 1. For example - 0.5. One other thing I can suggest is to set the Resolution property of the Series. More about this property you can find on the following links:
http://help.infragistics.com/Help/Doc/WindowsPhone/2012.1/CLR4.0/html/xamDataChart_Chart_Performance.html,
http://es.infragistics.com/community/blogs/kiril_matev/archive/2011/04/07/tuning-the-xamdatachart-for-blazing-fast-charting.aspx.
Please do not hesitate to let me know if you have any further questions on this matter.
Thanks for the response Gergana.
All 3 lines are definitely being used, the two screenshots I made are from me changing the visibility of the lines via snoop.
In snoop we see:
Path - Fill set to a brush, no stroke
Path - Stroke set to a brush and thickness set to 1
All 3 paths have a slightly different data set as well.
I've also checked the WPF samples and we can see in the "Binding High Volume Data" sample it's quite obvious that 3 lines are being used.
Thanks.
I've investigated a bit more and the 3 lines are only visible when using a CategoryDateTimeXAxis, if i switch to CategoryXAxis only 1 line is used but the graph is incorrect as our data is not evenly spaced.
Thanks
I am just checking if you have any further questions on this matter. Please do not hesitate to let me know if you do.
I have been looking into your post!
Currently the three paths are used when you have large data for optimization of the XamDataCharts performance. You can suggest new Product Ideas for future versions (or vote for existing ones) at http://ideas.infragistics.com.
Steps to create your idea:
1. Log into the Infragistics Product Ideas site at http://ideas.infragistics.com (creating a new login if needed).
2. Navigate to the product / platform channel of your choice (e.g. WPF, Windows Forms, ASP.NET, HTML5 / Ignite UI, iOS / NucliOS, etc.)
3. Add your product idea and be sure to be specific and provide as much detail as possible.
• Explain the context in which a feature would be used, why it is needed, why it can’t be accomplished today, and who would benefit from it. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. Be convincing!
• [CASE: “Reference case [case number], FORUMS: “Include a link to this thread”] in your idea so product management will be able to look back at this case.
The benefits of submitting the product idea yourself include:
- Direct communication with our product management team regarding your product idea.
- Notifications whenever new information regarding your idea becomes available.
Additional benefits of the Product Idea system include:
- Ability to vote on your favorite product ideas to let us know which ones are the most important to you. You will have ten votes for this and can change which ideas you are voting for at any time.
- Allow you to shape the future of our products by requesting new controls and products altogether.
- You and other developers can discuss existing product ideas with members of our Product Management team.
The product ideas site allows you to track the progress of your ideas at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.
Thank you for contacting Infragistics.
Thanks Gergana, we are already setting the resolution to 0 and this was when the line was too thick and losing detail compared with other graphing libraries.
I have been looking into your issue.
The three paths are used when you have large data and multiple points on one place. This is created for optimization of the XamDataChart performance.
Currently, the best way to reduce the thickness of the line is by setting the Resolution property of the Series. Using this property more points would be rendered on the XamDataChart and the line would be more thinner.
Please note, that the Resolution property is created for optimizing the performance of the XamDataChart and by setting it there might be a cause a slowing down of the rendering of the XamDataChart. More about the Resolution property you can find on the following link from our documentation: http://help.infragistics.com/Help/Doc/WPF/2014.1/CLR4.0/html/InfragisticsWPF4.Controls.Charts.XamDataChart.v14.1~Infragistics.Controls.Charts.Series~Resolution.html.
I have implemented the above mentioned scenario for you in a small sample application. Please find the attachment and feel free to let me know if you have any further questions on this matter.