Hi,
I’m creating a custom legend and need to be able to let the user update the color of the entire series. I don’t necessarily need the power if your IPaletteProvider interface, as I don’t need to vary the color within the series.
The documentation states that SeriesInfo.SeriesColor is read/write, but even when I update the source explicitly, the binding does not seem to push the color to the renderable series:
private void cpickSeries_SelectedColorChanged(object sender, RoutedPropertyChangedEventArgs e) { System.Diagnostics.Debug.WriteLine(e.NewValue); var cp = sender as Xceed.Wpf.Toolkit.ColorPicker; if (cp != null) { BindingOperations.GetBindingExpression(cp, Xceed.Wpf.Toolkit.ColorPicker.SelectedColorProperty).UpdateSource(); } }
I’ve turned on verbose logging and confirmed that no warnings are being generated by scichart. Am I approaching this incorrectly? Or is there a method I need to call on the series(which I have not found yet). I’ve confirmed the same behavior between XyScatterSeries and FastLine…
Thanks,
Dan.
- dsantimore asked 11 years ago
- You must login to post comments
I am considering applying server-side licensing for my javerScript application.
In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)
However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)
I wonder if there is a sample code implemented in C++ for server-side licensing.
Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?
- Andrew Burnett-Thompson answered 11 years ago
-
Ah, thank you. I had not noticed the RenderableSeries property of SeriesInfo. That solves that issue. Regarding the scatter series point colors -- no idea what voodoo you did to achieve that, but it works great.
-
lol @ Voodoo :-D The PointMarker types in SciChart v2.x are not control templates, they use the same bitmap rendering engine that the main chart uses. We provide Circle, Square, Triangle, Cross markers and we also created a SpritePointMarker that works in an identical fashion to the old control templated markers. This one does have a bit of magic to allow the old or new syntax. - Andrew
- You must login to post comments
Please login first to submit.