April updates – what’s new from Mindscape?

Developer Notes

We added a lot of service integrations to Raygun.io this month. Try them out and improve your error-fixing work flow. Also, if you’re an iOS dev, install the trusty Raygun Sidekick to upload dSYM files.

WPF Elements

  • Resolved null reference exception when DataGrid ItemsSource binding is removed. (details)
  • Setting the min or max of a DateTime axis will be an indication to switch to auto mode. (details)
  • Remove sort dirction indication from data grid columns when the items source changes. (details)
  • Fixed vertical dual slider label positions. (details)
  • Resolved unusual issue when using DataGridColumn.DisplayMemberBinding. (details)
  • Resolved minor binding errors in the DataGrid. (details)
  • Added ChartAxis.IsAutoViewportEnabled. (details)
  • Allow the zoom box to be used while data is dynamically changed in a Chart. (details)
  • Resolved issue causing the DataGrid column drop indicator to hang around. (details)
  • Resolved data grid column header layout issue. (details)
  • Experimental feature to stack axes via ChartAxis.StackIdentifier. (details)
  • Finish editing when pressing Enter at the end of a DataGrid. (details)
  • float[] support for HeatMapSeries.
  • Support for localizing “W” and “Week” strings in the TimeExplorer.
  • Adjust the axes when series are collapsed. (details)
  • Improved the performance of HeatMapSeries.
  • Resolved issue displaying custom data in the first chart data label. (details)
  • Chart axis title wrapping. (details)
  • Resolved index out of bounds issue on a Y-reversed heatmap. (details)
  • Support for setting StrokeDashArray in a line chart style. (details)

WPF Diagrams

  • Resolved connection point adorner lines dissapearing when switching tabs. (details)
  • Added Zoom option to DiagramBitmapRenderer. (details)
  • Raise property change notifications for connection Data property. (details)
  • Added DiagramSurface.DeselectItem method. (details)
  • Avoid resetting position-calculators when taking nodes out of virtualization. (details)

Web Workbench

  • Update SASS to 3.3.4

LightSpeed

  • Throw exception if IncludeDeleted is used on both sides of a join.
  • Fix issue with path resolution on Mono for lsgen tool.
  • Fix for bug with CompositeIdFieldModel on remove.
  • Avoid invalid cast when dealing with nullable.
  • Support generic types with field converters.

Raygun

As usual, the free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

March updates – what’s new from Mindscape?

Developer Notes

Here’s last months major feature additions and improvements across all our products. Want insight into crashes in your published applications and websites? Check out Raygun.io now.

WPF Elements

  • Made it easier to override property grid collection display templates.
  • Resolved null reference exception when calling BringRowIntoView on a disposed DataGrid.
  • HeatmapSeries now supports the ChartAxis.IsReversed feature. (details)
  • Variable DataGrid smart scrolling speed based on mouse position. (details)
  • More responsive selection updates while smart scrolling a DataGrid. (details)
  • Restored support for grouping columns that use DisplayMemberBinding. (details)
  • Corrected first and last DualSlider label when reversed. (details)

WPF Diagrams

  • Support for snap specifiers that implement INotifyPropertyChanged. (details)

Web Workbench

  • Update to Sass 3.3.3
  • Update to Less 1.7.0
  • Added Source Maps support to command line tools. (details)
  • Added Source Maps support for Sass.
  • New CSS content type for VS2013.
  • Fix in locating CSS intellisense file(details)

LightSpeed

  • Add an overload to UnitOfWork.Remove to allow removal of a set of entities.
  • Throw exception if IncludeDeleted is used on joined entities.

Raygun.io

As usual, the free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

February updates – what’s new from Mindscape?

Developer Notes

Here’s a look at this months Mindscape product updates. If you work with Javascript, make sure to take a look at Raygun.ioNow with source map support.

WPF Elements

  • Correct header when grouping enum DataGrid columns. (details)
  • Prevent grouping a column from one DataGrid to another. (details)
  • Resolved a potential memory leak after dragging a DataGrid column. (details)
  • Improved the estimate of the auto ChartAxis LabelStep feature. (details)
  • Changed DataGrid.SelectedItems to a writable dependancy property.
  • Added Many.PropertyName property. (details)
  • Update when dynamically adding series to a PolarChart. (details)
  • Resolved rare PolarChartGrid update issue. (details)
  • Support for custom display names for multiple objects in a PropertyGrid. (details)
  • Added menu scroll buttons to OfficeBlue theme. (details)
  • Support for dynamically updating style of an AreaSeries.
  • DataGrid CSV exporter support for quoted values. (details)
  • Support for PropertyDescriptor.Description when selecting multiple objects in a PropertyGrid. (details)
  • Resolved a potential divide by zero issue in the ChartAxis. (details)
  • Added DataGridItemsSource.CountOnCurrentPage property.
  • Resolved double up of SelectedItemChanged events. (details)
  • Resolved potential issues with NaN values in a ChartAxis. (details)
  • Release mouse capture after clicking on DataGrid padding column. (details)
  • Added NumericTextBox.AllowsNoValue property.
  • Special NoValue (NaN) support for DoubleTextBox.
  • Restore grouping when reloading an unloaded DataGrid. (details)
  • Improved support for strings on a chart axis. (details)
  • Resolved infinite loop when using custom data in a StockSeries. (details)

WPF Diagrams

  • Resolved issue with overriding the SnapLineDrawing when DiagramSurface is within a DataTemplate.
  • Resolved minor hit-testing issue.
  • Resolved minor binding issues.
  • Null reference fix. (details)
  • Resolved null reference exception when deleting a node while dragging or resizing it. (details)
  • Cancel marquee dragging when the DiagramSurface loses focus.
  • Added DiagramSurface.CanRelocateConnections property. (details)

Web Workbench

  • Update CoffeeScript to 1.7.1
  • Update Less to 1.6.3
  • Add new option to ignore errors returned from compiler output. (details)
  • Add IgnoreWarnings and IgnoreErrors to per file settings, no UI currently being surfaced for this. (details)
  • Add /w option to raise error code 4 if no output present but ignore errors otherwise. (details)
  • Add Uglify to NodeJS package

LightSpeed

  • Update cached entities after LockVersion is incremented.
  • Call EndEdit on associated ToOneModels.
  • Allow BeginEdit to not force lazy loading.
  • Fix for Int16 range validation issue. (details)

Raygun.io

As usual, the free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

January updates – what’s new from Mindscape?

Developer Notes

The Mindscape team is back in full force for another great year of coding! Here are some nice product updates to start the year.

WPF Elements

  • Dynamically change SeriesBrush on LineSeries. (details)
  • Improved chart performance.
  • Support for disabled foreground of cells when DataGrid is disabled. (details)
  • Added DataSeries.ConvertPhysicalToLogicalPoint method.
  • Improved bring-item-into-view feature for DataGrid.
  • Resolved issue calculating auto tick spacing for small values. (details)
  • Use Ceiling instead of Round when calculating axis ranges. (details)
  • Resolved issue with z order of chart points. (details)
  • Resolved a bug when using an ICustomTypeDescriptor within a Many editor of a PropertyGrid. (details)
  • Basic PropertyGrid support for ExpandoObject.
  • Handle mouse button up event of numeric text boxes. (details)
  • Resolved DataGrid resize issue in rare scenarios. (details)
  • Resolved potential cast exception in the VS designer.
  • Prevent DataGrid control from stealing tab navigation while in edit mode. (details)
  • Resolved minor DataGrid custom row height issue. (details)
  • Improved the DataGrid star sizing feature. (details)
  • Fixed DataGrid grouping for DataTable/DataTableView.
  • Smart scrolling for DataGrid selection.
  • Solved minor/rare measurement bug in DataGrid columns. (details)
  • Resolved a bug causing the numeric boxes to steal mouse capture. (details)
  • Resolved a DataGrid memory leak. (details)
  • Added heatmap gradient converter Orientation property. (details)
  • Resolved BindingList reset issue in DataGrid. (details)
  • Resolved a cast exception when using a custom type descriptor that return DependencyObjectPropertyDescriptors in a PropertyGrid. (details)

WPF Diagrams

  • Added a hook for custom intersection bridge validation logic. (details)
  • Fixed background of exported diagram images. (details)
  • Resolved issue preventing element to be double clicked in read only mode.
  • Resolved a bug in the default serializer that was losing user-modified segment positions.
  • Resolved redundant bounds changed event. (details)
  • Added ConnectionDropTarget.Position property. (details)
  • Resolved a bug causing the Diagram bounds to be NaN. (details)

Metro Elements

  • Added alternative X axes feature. (details)

Web Workbench

  • Support for source maps when compiling Less files. (details)
  • Resolve commands issue under Visual Studio 2013.
  • Improved performance of Compass compile.

LightSpeed

  • Suppress C# compiler warning. Caters for properties generated as field-only.
  • New function to allow custom operators.
  • Restrict warning to CTI.
  • Resolve issue with transient entities being included in migrations.
  • Surface errors raised from designer sync and provide some extra guidance.

Raygun.io

The free editions of the nightly builds are available right now from the downloads page, and the full editions from the store.

WPF Elements: Improved DateTime chart axis

Ever since version 1 of our WPF charting suite there has been support for plotting DateTime values along an axis. This is done by creating an instance of the DateTimeAxisValueConverter and using it to set the ValueConverter property of the chart axis. This gives the axis an undestanding of the type of data it is plotting so that it can automatically set the tick spacing and label values at different zoom levels. The results were reasonable, but there were many times when the spacing between labels would be nonsensical, for example, 7 minutes. Since this does not divide evenly into the 60 minutes of an hour, the labels along the axis are not that convenient to read.

In version 6.0 we greatly improved the DateTime chart axis support so that better intervals can be calculated at any zoom level. The DateTimeAxisValueConverter starts by looking at the current visible range of the axis, and determines an appropriate date/time unit to use – years, months, hours etc. Then it works out the number of those units to separate each tick mark and label. The number of separation units will divide evenly into the next date/time unit. For example minutes will divide evenly into 60, and hours will divide evenly into 24. This produces much nicer to read axes. Also, as you zoom the chart and cause the type of date/time unit to change, the format of the axis label will also change to reflect this.

Date Time Axis

Out of the box, the DateTimeAxisValueConverter will work out all this date/time unit stuff for you, but we also have a way for you to provide your own logic if you need to. This can be done by adding one or more DateTimeIntervalDefinition instances to the DateTimeValueConverter. On each interval definition, you can specify the minimum and maximum time-span that you want the definition to take effect on. Then you can set the date/time unit, the desired number of units, and the label string format. Here is a quick example:

<ms:DateTimeAxisValueConverter>
  <ms:DateTimeIntervalDefinition MinimumTimeSpan="1 Year" MaximumTimeSpan="2 Years" IntervalUnit="Month" InternalMagnitude="1" IntervalFormat="{}{0:MM yy}" />
</ms:DateTimeAxisValueConverter>

This is saying that if the range of the axis is currently between 1 and 2 years of data, then the ticks and labels will be separated by 1 month intervals. On the time-span properties we have a custom type converter that allows you to conveniently set the time values. In the above example you will see I’m simply writing “1 Year” and “2 Years”. Alternatively you can use the usual .Net TimeSpan input such as 5:0:0:0 (5 days). The intervalMagnitude value is optional. If you leave this out, the DateTimeValueConverter will take care of picking an appropriate unit count for you. This is great if you want a good value at all zoom levels but don’t want to create interval definitions for each unit count manually. If your chart is not going to be zoomed, but you still want to customize the time intervals, then you can take a shortcut by setting the IntervalUnit and IntervalMagnitude properties on the converter, rather than using an interval definition.

We hope you find the DateTime axis support useful in your applications. If you have any questions about WPF Elements charts, drop a comment on this blog post, or in the forums. If you don’t have WPF Elements yet, get the 60 day free trial now.

Tagged as WPF Elements

Archives

Join our mailer

You should join our newsletter! Sent monthly:

Back to Top