← Back to all blogs


Posts tagged with 'wpf'

Spread WPF-Silverlight Released!

I am happy to announce the release of Spread WPF-Silverlight!

How To: Use Mouse Events on PlotElements with ChartPanel

ChartPanel makes C1Chart for Silverlight quite flexible and helps in laying several elements over chart view. This helps in implementing features like Mouse Markers. However, if one uses the ChartPanel for enabling mouse markers, the events added to PlotElements don't work because ChartPanel listens to these events and doesn't pass them to the PlotElements.  We may simply set the ChartPanel background to null to workaround the issue; however we lose the marker feature.

Licensing Problems: The licenses.licx file and You

So you've downloaded WinForms Edition, installed and entered your license key, and you're ready to tackle some code.  Let’s say you want to start using C1Reports…

30 lines code make a calculator by Spread

Can 30 lines of code make a calculator? Yes, because we have Spread.

Customizing Candle Charts

You have often seen Financial/Stock Charts which are popularly known as Candle Chart in Technical terms. Candle chart is a line chart where the data point has low/high values. C1Chart for WPF also provide Candle version for its Chart control. This is how a Candle Chart looks like.

Scrolling into view with WinForms and WPF FlexGrids

When end users need the ability to locate a particular row in a grid, and automatically scroll the grid so that row is at the top or bottom of the viewable area, the ScrollIntoView method is a common way to accomplish this.

Displaying Custom Labels on C1Chart3D Axes

This brief post details a solution to display custom string labels on a C1Chart3D axis as the title suggests. For a getting started tutorial on the C1Chart3D control, read my other blog post here.

Chart Data Point Selection (MVVM)

Another new feature in the 2012 v3 version of the ComponentOne XAML chart controls is selection support. We’ve always been able to detect which plot element is clicked on using either the PlotElementLoaded event or DataIndexFromPoint method, but this new selection feature makes it especially easier when working in MVVM scenarios because there's no code-behind required. Charts are not typically used as a means for selection, such as a ListBox or DataGrid, but in some scenarios they work quite nicely. For example, column, bar and pie charts lend themselves very well to selection.

A Look Ahead in 2013 – Words from the CTO

This has been an exciting year for us at ComponentOne. We were acquired by GrapeCity and saw amazing new products and valuable resources added to our assets. Our customers will see practical benefits of this in the near future as we align our product lines and optimize our resources.

ComponentOne Studio Enterprise 2012 v3 is shipping now!

A few weeks ago we shared with you the introduction of two new Studio suites, Studio for WinRT XAML and Studio for WinJS. Now we have even more exciting news, these new Studio’s are now part of the Studio Enterprise family of products. Studio Enterprise has been enhanced and its line-up includes:

Getting Started with Chart Animation in XAML

Many of the enhancements to the C1Chart control in 2012 v3 were to make development easier. Animation is one of those features. You’ve always been able to apply animations to the plot elements, but now with the new animation API it got a lot easier. This blog post walks through creating load animations in XAML.

A Handy Tool: Working with C1PromptBox

Studio for Silverlight and WPF contain many small and helpful components that you might not be aware of. This blog post focuses on the C1PromptBox class that provides a quick prompt window to collect user data.

Chart Automatic Series Generation (MVVM)

The C1Chart control got several new enhancements in the 2012 v3 release. One of the new features introduced is automatic series generation. Two new properties on the ChartData object now enable the number of data series to be automatically generated based upon the model. This is a useful feature for developers using MVVM as now the number of series can be completely generated in the View Model.

Language and CurrentCulture in Silverlight and WPF

In WinForms and ASP.NET, numbers and dates are formatted and parsed using the current thread's CultureInfo.CurrentCulture property. This is the value that users may change using the control panel.

Spread for WPF-Silverlight Released!

I am happy to announce the release of Spread for WPF-Silverlight!

Design Tips for Creating Modern Style Charts in XAML

Designing a chart for a Modern UI-style application should be one of the easiest tasks in a developer’s lifetime. The Modern UI (formerly Metro) style that you know has very simple and minimalistic qualities to it. Some of those qualities include:

Using the Entity Framework C1DataSource in Visual Studio 2012

With the new release of Visual Studio now widely available there is a good chance that many of you may already be using it or will be migrating over to it in the not too distant future.  If one leaves aside the all caps menu and somewhat less colourful UI, most things in Visual Studio 2012 work in much the same way as they did in Visual Studio 2010. As a result porting existing projects from 2010 to 2012 is a relatively painless experience.  However, there have been some changes in the way that it works with the Entity Framework and those changes mean that for the present when building an Entity Data Model for use with the Studio for Entity Framework in Visual Studio 2012 (or if you rebuild a model in 2012 imported from 2010) you need to perform a couple of extra tasks before you will be able to use the created Object Context with a C1DataSource. This will not be necessary once you get an update for Studio for Entity Framework that will soon be available. But if you need to use the current version of SEF (version number less than 4.0.20123) in Visual Studio 2012, you can do it with simple steps below.

Working with BarCode in C1Reports

A BarCode is an optical machine-readable representation of data relating to the object to which it is attached. BarCodes are very much commercially successful and forms the backbone of automated checkout system in many industries.

Troubleshooting Missing CustomFields in C1ReportDesigner

The C1ReportDesigner is a tool used for creating and editing report definition files. To enhance your report, you can add fields (for example, lines, rectangles, labels, pictures and so on) to any Section in the report definition file. For advanced reporting requirements, this designer tool also provides CustomFields like Charts, BarCode, Map and few more.