Jump to content


Randy Minder

Member Since 25 Jan 2012
Offline Last Active Oct 02 2012 01:56 PM

Topics I've Started

Simple Line Chart X Axis Problem

02 October 2012 - 01:56 PM

I have a very simple Visifire Line chart (see attached). We're using Visifire WPF The underlying data set contains two data points. The first data point has a X axis value of 10/2/2012 02:36:00. The second data point has an X axis value of 10/2/2012 03:39:00.

The chart is rendered correctly, but I don't understand the X axis. We have two data points. Why do we have 17 data points along with X axis, and why are they mostly duplicated? I would expect to have just two data points along the X axis.

Thanks for your help on this.

Randy Minder

What does LightingEnabled do?

31 July 2012 - 10:42 PM

Could someone tell me what LightingEnabled does? The documentation states:

"Gets or Sets the state that indicates whether the lighting effects must be applied or not."

This is not particularly useful because it doesn't described what it actually does. Furthermore, the documentation only shows what a chart looks like with it set to false, but it doesn't contrast it with what it looks like with it set to true.

For my line charts, I can't tell any difference between it set to true or false.

Thank you.

Randy Minder

MarkerColor vs. Color and MarkerBorderColor vs. BorderColor

30 July 2012 - 12:35 PM

I have a data series that is a Point (not Line). I am trying to understand the difference between the Color / MarkerColor properties and BorderColor / MarkerBorderColor properties for a Point series. Which combination should I use?

I am trying to create a data point that has a marker that is white with a red border around it, and I can't seem to accomplish this.


Randy Minder

Using MarkerEnabled on Point DataSeries

27 July 2012 - 05:10 PM

How is the MarkerEnabled property used on a data series that is a Point (not Line)? it seems that whether I have this set to true or false, the data point always displays. If MarkerEnabled doesn't have any purpose for point series, why is it a supported property?


Randy Minder

Bug in v5.0.0.3?

18 July 2012 - 12:49 PM

I just downloaded and installed v5.0.0.3 into our app (WPF). We're now getting a number of Visifire errors we were not getting with v5.0.0.0. The exception message is shown below. Please note that this message is not particularly useful to a developer. You could at least tell the developer what the mapping error is, or what the developer might have done wrong.


System.Exception: Error While Mapping Data: Please Verify that you are mapping the Data Correctly ---> System.Exception: Error While Mapping Data: Please Verify that you are mapping the Data Correctly ---> System.Exception: Error While Mapping Data: Please Verify that you are mapping the Data Correctly
at Visifire.Charts.DataSeries.BindData()
at Visifire.Charts.DataSeries.OnDataSourceChanged(IEnumerable oldValue, IEnumerable newValue)
at Visifire.Charts.DataSeries.OnDataSourceChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp)
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.UIElement.UpdateLayout()
at Visifire.Charts.AxisRenderManager.UpdateLayoutSettings(ChartArea chartArea, Size newSize)
at Visifire.Charts.AxisRenderManager.CreateAxisForVerticalChart(ChartArea chartArea, Size plotAreaSize)
at Visifire.Charts.ChartArea.RenderAxes(Size plotAreaSize)
--- End of inner exception stack trace ---
at Visifire.Charts.ChartArea.RenderAxes(Size plotAreaSize)
at Visifire.Charts.ChartArea.DrawChart(Size plotAreaSize)
at Visifire.Charts.ChartArea.Draw(Chart chart)
at Visifire.Charts.Chart.Render()
--- End of inner exception stack trace ---
at Visifire.Charts.Chart.Render()
at Visifire.Charts.Chart.Chart_SizeChanged(Object sender, SizeChangedEventArgs e)
at System.Windows.SizeChangedEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.FrameworkElement.OnRenderSizeChanged(SizeChangedInfo sizeInfo)
at System.Windows.ContextLayoutManager.fireSizeChangedEvents()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.ContextLayoutManager.UpdateLayoutCallback(Object arg)
at System.Windows.Media.MediaContext.InvokeOnRenderCallback.DoWork()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler).