Hi Tom,
Greetings from Syncfusion. We have analyzed your requirement and we would like to inform you that chart renders single pixel height column when segment value is zero. So, we have achieved your requirement by using custom FastColumnBitmapSeties and setting NaN value instead of zero in YValues in OnDataSourceChanged method as per the below code snippet.
Code snippet [FastColumnBitmapSeriesExt.vb]:
|
Public Class FastColumnBitmapSeriesExt
Inherits FastColumnBitmapSeries
Protected Overrides Sub OnDataSourceChanged(oldValue As IEnumerable, newValue As IEnumerable)
MyBase.OnDataSourceChanged(oldValue, newValue)
For number As Int32 = 0 To YValues.Count - 1 Step 1
If (YValues(number) = 0) Then
YValues(number) = Double.NaN
End If
Next
End Sub
End Class |
Code snippet [MainWindow.vb]
|
Class MainWindow
..
Dim SeriesPrice As New FastSteplineBitmapSeriesExt
Dim SeriesVolumeBuy As New FastColumnBitmapSeriesExt
Dim SeriesVolumeSell As New FastColumnBitmapSeriesExt
Dim scrollBar As SfChartResizableBar
Dim zoomDays As Integer
.. |
We have modified your sample based on this, please find the sample from the following location.
Hope this helps.
Thanks,
Muneesh Kumar G.