Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
490
Evaluating xamChart, have a few questions
posted

I'm evaluating xamChart v10.3 and have a few questions.

- Can I do something like the below image?  I want the x-axis values to be frozen at certain values (in this case 2,4,6,8) and not change depending on the data in the chart.  So in the below image, my data points' x-axis values are 1,3,5,7 but the chart does not change the x-axis lines.  I tried doing this by setting Unit=2, MinimumValue=0, MaximumValue=10, AutoRange=false but it didn't seem to work.

 

- There is a sample in the xamFeatureBrowser that shows column highlighting when the mouse enters the data points, using ColumnChartTemplate. There is no corresponding template for line charts.  How can I highlight/change the color of a line when the user hovers the mouse over one of its datapoints?

- Is scrolling/panning/zooming available?  If not, are there any workarounds (maybe some clever solution someone thought up)?

- Is it possible for me to use the mouse to drag/move data points on a chart in order to allow the user to modify the data the chart is bound to?  Is there a sample of that anywhere?

- I want to show tooltips when the user hovers the mouse of a marker in a line chart, but only the marker, not the connecting line segments.  I tried using the ToolTip property but with that the line segments show a tooltip as well when hovered over.  Is there no way to just display some info when the marker itself is hovered over, and no where else?

- Is there support for step charts or area spline charts?  If not, is there some other way to get that functionality (maybe by doing some tricks with the available charts)?

Where applicable, please let me know if there is any workaround for missing functionality or samples of what I am trying to do.

Thanks a lot.

Parents
No Data
Reply
  • 30692
    Offline posted

    1) To achieve the above picture you may need to use numeric axes (a scatter chart). The category axis used by the line chart is only letting you adjust the indices of the data that is displayed. It displays labels that are associated with the items, and not values in between. Am I understanding what you are asking for correctly?

    2) Hovering over the marker? Or the line? You can try changing the Fill of the Datapoint that you are hovering. Changing the color of a marker on hover may be easiest achieved by customizing the marker template.

    3) Scrolling/Panning is not available on XamChart but is available on XamDataChart. Have you evaluated XamDataChart? You might be able to emulate panning and zooming by adjusting the manual axis settings programatically.

    4) To a degree, see my other response to you.

    5) One way of doing this would be to use a custom marker template for the series, and attaching the events to the visual in the marker template.

    6) XamDataChart supports both these types. You may be able to emulate a step line chart by adding additional datapoints depending on your requirements. A spline area series would be harder to emulate.

Children
No Data