Good morning,
I am porting a client application from win forms to wpf, in the old application I used Microsoft Data Visualization suite for graphs, in the new one I am using your Telerik ChartView package.
I ask for advice for representing this king of graph:
http://postimage.org/image/iymas3axn/
You can think that as a big box seen from the top view filled with smaller parallelepipeds (the stocks). On the x axis I represent the box length, on the y axis I represent the box width, the stocks position coordinates, length and width are scaled with real world dimensions.
In old application I solved the problem using annotations, with Data Visualization package it was possible to create Rectangular Annotation with its position and dimensions referred to graph axes, so for example, it was possible to draw a rectangle in 3 meters as X position, 5 meters as Y position, 6 meters long and 1 meter wide.
In new application tried with ChartView to customize the scatter point series, but I had two problems:
1) I have to set my rectangles dimensions in pixels, not in graph axes dimensions as I wished
2) Every rectangle ends to have the same dimensions
Then I read documentation about annotations, the CartesianPlotBandAnnotation seems encouraging (if you see again my image you'll see that I used some kind of those to draw the blue stripes that divide my box within zones), because their dimensions can be bound to axes. But the CartesianCustomAnnotation (that I want to use to draw my rectangles) is again a letdown, because its dimension are in pixels.
There is some kind of annotation, series...that I can use, or adapt, to fulfill my goal ?
Thank you very much for your attention, best regards,
Paolo Spagnolo
I am porting a client application from win forms to wpf, in the old application I used Microsoft Data Visualization suite for graphs, in the new one I am using your Telerik ChartView package.
I ask for advice for representing this king of graph:
http://postimage.org/image/
You can think that as a big box seen from the top view filled with smaller parallelepipeds (the stocks). On the x axis I represent the box length, on the y axis I represent the box width, the stocks position coordinates, length and width are scaled with real world dimensions.
In old application I solved the problem using annotations, with Data Visualization package it was possible to create Rectangular Annotation with its position and dimensions referred to graph axes, so for example, it was possible to draw a rectangle in 3 meters as X position, 5 meters as Y position, 6 meters long and 1 meter wide.
In new application tried with ChartView to customize the scatter point series, but I had two problems:
1) I have to set my rectangles dimensions in pixels, not in graph axes dimensions as I wished
2) Every rectangle ends to have the same dimensions
Then I read documentation about annotations, the CartesianPlotBandAnnotation seems encouraging (if you see again my image you'll see that I used some kind of those to draw the blue stripes that divide my box within zones), because their dimensions can be bound to axes. But the CartesianCustomAnnotation (that I want to use to draw my rectangles) is again a letdown, because its dimension are in pixels.
There is some kind of annotation, series...that I can use, or adapt, to fulfill my goal ?
Thank you very much for your attention, best regards,
Paolo Spagnolo