I want to display Mathematical equations in WPF. I'd like to display this using native WPF objects (i.e., NOT from previously rendered equation images). For example, variable X would be the glyph X, and so on.
What are my design options here? Is anyone aware of any library that does this? Or is DYI'ing the only way out?
I've found this library: Displaying math equations in WPF.
Hope it helps.
I think the solution from windowsclient is not helpfull.
It has a lot of workarounds for common problems in this field.
A much better approach is:
http://blog.noldorin.com/2010/04/rendering-tex-math-in-wpf/
Related
I can't find a working example of a cutting plane implementation for HelixToolkit.Wpf.SharpDX.
I hope to achieve something simpler than the HelixToolkit.Wpf cutting plane which can be invoqued by shift+clic anywhere on the displayed model.
I'll be happy if at least I would be able to do cutting planes with axis-oriented normals, I don't have any interest in custom oriented cutting planes.
Edit
After answering to first comment, I add the precision about trying to do something after the CrossPlaneSection example from the github, but couldn't find someting to use on a more complicated scene. Still waiting for tips.
See the cross section example in Sharpdx version
https://github.com/helix-toolkit/helix-toolkit/tree/develop/Source/Examples/WPF.SharpDX/CrossSectionDemo
I have looked around everywhere on this subject, found quite a bit of information, it all looks very complex. I have found this article which is really good.
But it doesn't really breakdown how to calculate the values to enter into the ArcSegment to make a full circle, does anyone have any advice. Just show me how to make an ArcSegment which will start at one point and go around 360 and I will work from there.
I have the better solution in form of highly customizable open-source project: https://github.com/panthernet/XamlRadialProgressBar
You can style it as you like or examine the code and create your own beast :)
I have done exactly this, as described in the blog post:
http://dragablz.net/2015/09/15/bending-the-wpf-progressbar/
My goal is to have a diagram which look like this
Each arrow should be a one dimensional chart, where point are displayed (colors and point size depends on some values)
I'm building my own chart system because I spent a few hours looking for one which allow to custom markers (size and colors, and maybe even shape) but I couldn't find one.
Actually the only one I found is dynamic data display 2.0 which is only proposed in Silverlight.
My biggest problem is the two curving chart I have to do at the top of the diagram.
I tried to use PathListBox control, but because it's a listBox, I couldn't display items at fixed X position (like using a chart).
I'm not asking for a full perfect solution, but can someone give me advices, or clues ?
How would you manage to do something like that ?
It should only be a XAML work here, because all the data are already ready in a ListCollectionView (i'm using MVVM).
Thank you !
I'd like to know a library to draw graphics in WPF..
I'd like to plot a line graph with a lot of points which increases at runtime..
I tried with DynamicDataDisplay, but it was very slow in my app...
So.. Can you suggest me a library / project to use to solve my problem?
Maaany thanks!
I'd suggest binding your data to a System.Windows.Shapes.Path using a converter, you just need to implement a notifying interface if points are added or removed to update the graph.
(Recently wrote a generic cartesian point array converter for this question)
I need to replicate a circular (or angle) gradient from a Photoshop comp in WPF; so far I can only find linear and radial. Does anyone know if such a thing exists, or and easy way to get get a circular gradient in WPF?
Note: I'm not asking about a radial gradient. A circular gradient is like taking a rectangle, applying a gradient and then transforming the rectangle into a circle.
Check this question for a new and a bit more complete answer to this question.
While I've never done this before (so I don't know what's involved) you could implement a type that inherits from GradientBrush. I don't think this is trivial though.
I've also not worked with Photoshop circular gradients, but from your description I can't help but think that you could at least approximate it using a LinearGradientBrush and then transforming the result - perhaps using a MatrixTransform.
Sorry that I can't give you concrete answers, but maybe these suggestions can point you in the right direction.