This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hello Jason, I succeeded to integrate your chart with Heatmap Series to our application. (I have to tell that it was pretty easy). Now I need to make some "look and feel" customization according to our application requirements. I need to display custom values on axis Y instead of displaying range of buckets. Example : Let say I have 1000 buckets on axis Y and the real range is [-300 Voltage, 300 Voltage] and axis Y labels need to be displayed according given range. I tried to implement IAxisValueConverter and to make binding of it on axis Y:
But method AxisYValueConverter->GetAxisPlotPosition(object o) gets double[1000] and I don't know how to convert it to chart index. Is there any way to display custom labels? Thanks, Pavel |
|
|
Hi Pavel, It sounds like you are on the right track. Thanks for contacting us about this, custom axis converters for the heatmap is tricky due to the data points being arrays. Here's a possible implementation based on what you want:
If the object being plotted is an array, then you'll simply want to return the length of that array. Otherwise the object is most likely a numeric value which should be cast to a double as appropriate and returned. In the other method, I divide and multiply the given value to convert it from a scale of 0-1000 to a scale of -300-300. These values are set as class fields which you may want to expose as properties so that they can be set in xaml, rather than being hard coded. Let me know if you have further questions about this. -Jason Fauchelle |
|