Custom diagram canvas pagination

In this post we’ll show how to implement Visio-like dynamic pagination of the diagram canvas, expanding or shrinking it while users draw nodes interactively, and rendering custom page borders. This is demonstrated using MindFusion Windows Forms Diagram control, but equivalent APIs are provided by MindFusion diagramming libraries for other platforms.

Continue reading

Candlestick Financial Chart in JavaScript with Real-time Data

In this blog post we will build the financial chart that you see below. This is a candlestick chart created with MindFusion Charting for JavaScript. We use data from the platform TraderMade. The data comes in a continuous stream as a WebSocket. The blog post explains how to get the data, how to parse it and how to create and customize the chart. The chart also offers the user to change the data interval and to zoom in/out the chart.

Continue reading

Virtual Keyboard for Avalonia UI preview

We are soon releasing Avalonia version of our Virtual Keyboard control. It synthesizes keyboard events through Avalonia event routing system, so it should work on any platform supported by Avalonia UI. Unlike MindFusion Windows keyboard controls, events can be sent only to input controls in current process, and not to external processes.

In addition, language support cannot be generated automatically via OS APIs as in Windows controls, but we’ll be creating character maps for each language. Currently supported cultures that can be assigned to VirtualKeyboard.InputLocale property are en-US, fr-FR, de-DE and nl-NL.

If anyone is interested in trying the preview version, please install the nuget package –

https://www.nuget.org/packages/MindFusion.Keyboard.Avalonia/

Continue reading

MindFusion.Diagramming for Blazor preview

We are soon releasing Blazor / WebAssembly flow diagramming library. First version implements most of the features of core MindFusion.Diagramming namespace from our WinForms desktop component, including layout and link routing algorithms. The library also includes NodeListView component for creating nodes via drag-and-drop. Import/export classes and other UI controls such as Ruler/Overview will be added with future releases.

If anyone is interested in trying out the beta version, please download this archive containing assemblies and sample projects:

https://mindfusion.eu/BlazorDiagram.zip

Continue reading

Render Online Maps Using Your Own Tile Map Files and MindFusion Mapping Library for JavaScript

In this blog post we are going to show you how to use the free mapping files, available for download from various resources and convert them to image files so they can be rendered through the URL http://your_website/files_location/{z}/{x}/{y}.png You will get acquainted with various sources of map data files, different tools to convert and export the files into raster images. Finally, you will use MindFusion’s JS Mapping library to create a map that uses the image files, you have prepared and uploaded on your own server.

Continue reading