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
295
2 DataChart questions
posted

Hi to all,

i am using the DataChart quite a while, ist pretty cool.

But i have 2 issues/questions, which i cannot solve.

I am using 16.1 at this time

1) For the LineSeries i can set a Brush (Color), but i would like to be able to draw the series dashed or dotted. Does the Chart Support this? How would i do that?

2) Within the Chart one can use the mouse Wheel for zooming. Can i tell the Chart to do other (custom) Things wioth the mouse Wheel (e.g. moving a value overlay) ?

Thanks in advance

Thomas

  • 21795
    Offline posted

    Hello Thomas,

    Please find bellow answers to your questions:

    • For the LineSeries i can set a Brush (Color), but i would like to be able to draw the series dashed or dotted. Does the Chart Support this? How would i do that? – right now UltraDataChart does not allow you to style the chart line as dashed, doted and etc. You can achieve this with xamDataChart as shown in this article “XamDataChart with dashed lines”. After investigating this and doing some research, the idea to be able to set the chart line as dashed, doted and so on has been determined to be a new feature idea. You can suggest new product ideas for future versions by emailing ideas@infragistics.com. Submitting your idea will send it directly to our product management team so that it can be imported into our new ideas community once live: http://ideas.infragistics.com. Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. You can also link back to this thread for additional details.
    • Within the Chart one can use the mouse Wheel for zooming. Can i tell the Chart to do other (custom) Things wioth the mouse Wheel (e.g. moving a value overlay)? – yes you can achieve such behavior. First you should turn off chart zooming by setting VerticalZoomable and HorizontalZoomable of the chart to False. Then handle MouseWheel event of the chart and change the overlay value like this:

      private void UltraDataChart1_MouseWheel(object sender, MouseEventArgs e)
      {
          this.overlay.Value += e.Delta / Math.Abs(e.Delta);
      }

    Please let us know if any additional questions on this matter arise.