{"id":2011,"date":"2022-06-23T10:11:59","date_gmt":"2022-06-23T09:11:59","guid":{"rendered":"https:\/\/www.scichart.com\/2022\/06\/23\/scichart-wpf-v6-6-beta-released\/"},"modified":"2022-12-09T13:09:40","modified_gmt":"2022-12-09T13:09:40","slug":"scichart-wpf-v6-6-beta-released","status":"publish","type":"post","link":"https:\/\/www.scichart.com\/scichart-wpf-v6-6-beta-released\/","title":{"rendered":"SciChart WPF v6.6 Beta Released!"},"content":{"rendered":"\n

We are pleased to announce that the SciChart WPF v6.6 Beta build 26367<\/em> has now been released! This update includes a number of excellent new features, lots of stability fixes and performance & memory enhancements.<\/em><\/p>\n\n\n\n

What’s New in SciChart WPF v6.6 Beta?<\/strong><\/h3>\n\n\n\n

New! Oil & Gas Showcase Demo<\/h2>\n\n\n\n

New example “Charts for Gas & Oil Industry” has been added to our GitHub<\/a>! The example showcases usage of SciChart APIs to build a view with chart types and layouts heavily used in Gas and Oil industry, like Trellis Plot, 3D Scatter\/Projection charts, Heatmaps and various stratigraphic charts.
\"\"<\/p>\n\n\n\n

You can find full source code of the example on our GitHub<\/a>.<\/p>\n\n\n\n

New Gantt Chart Example<\/h2>\n\n\n\n

New example “Gantt Chart” has been added to SciChart Examples Demo! It demonstrates usage of new FastStripeRenderableSeries, Vertically Stacked Axes and powerful chart customization using WPF capabilities to create a Gantt Chart.
\"\"<\/p>\n\n\n\n

You can find a demo of Gantt Chart in SciChart WPF Examples Suite<\/a>, full source code on our GitHub<\/a> and documentation here<\/a>.<\/p>\n\n\n\n

New Horizontal Error Bars Chart Type<\/h2>\n\n\n\n

Introduced in SciChart v6.6, it allows creating charts with horizontal error bars and one-sided error bars.
\"\"<\/p>\n\n\n\n

FastErrorBarRenderableSeries can draw either horizontal or vertical errors depending on a value of the ErrorDirection property. Also, it is possible to create one-sided error bars by passing Double.NaN as error values to an HlcDataSeries:<\/p>\n\n\n\n

var errorBarsSeries = new FastErrorBarsRenderableSeries\n{\n    Stroke = Colors.White,\n    StrokeThickness = 1,\n\n    \/\/ ErrorDirection specifies that ErrorBars should appear along YAxis, i.e. vertical ErrorBars\n    ErrorDirection = ErrorDirection.YAxis,\n\n    \/\/ DataPointWidthMode specifies that DataPointWidth is set in absolute units (pixels)\n    DataPointWidthMode = DataPointWidthMode.Absolute,\n    \/\/ Specifies that ErrorBars caps should be 15px wide\n    DataPointWidth = 15,\n};\n\n\/\/ FastErrorBarsRenderableSeries expects data in the format X,Y plus High (error high), Low (error low)\nvar hlcDataSeries = new HlcDataSeries<double, double>();\nhlcDataSeries.Append(0, 0, 0.5, -0.5);\n\n\/\/ Specifies an one-sided error bar with High Error\nhlcDataSeries.Append(1, 0, 0.5, double.NaN);\n\n\/\/ Specifies an one-sided error bar with Low Error\nhlcDataSeries.Append(2, 0, double.NaN, 1);\n\n\/\/ Attach HlcDataSeries to FastErrorBarsRenderableSeries\nerrorBarsSeries.DataSeries = hlcDataSeries;<\/pre><\/div>\n\n\n\n

You can find a demo of ErrorBar Chart in SciChart WPF Examples Suite<\/a>, full source code on our GitHub<\/a> and documentation here<\/a>.<\/p>\n\n\n\n

Colors Smoothing for Non-Uniform Heatmap<\/h2>\n\n\n\n

Optional colors smoothing has been implemented for FastNonUniformHeatmapRenderableSeries.
\"\"<\/p>\n\n\n\n

It is controlled via the UseLinearTextureFiltering property on FastNonUniformHeatmapRenderableSeries:<\/p>\n\n\n\n

<s:FastNonUniformHeatmapRenderableSeries UseLinearTextureFiltering=\"True\"\n                                         DrawTextInCell=\"True\"\n                                         Opacity=\"0.9\">\n    <s:FastNonUniformHeatmapRenderableSeries.ColorMap>\n        <s:HeatmapColorPalette Minimum=\"0\" Maximum=\"100\">\n            <GradientStop Color=\"Blue\" Offset=\"0\"\/>\n            <GradientStop Color=\"White\" Offset=\"0.3\"\/>\n            <GradientStop Color=\"Green\" Offset=\"0.5\"\/>\n            <GradientStop Color=\"Yellow\" Offset=\"0.7\"\/>\n            <GradientStop Color=\"Red\" Offset=\"1\"\/>\n        <\/s:HeatmapColorPalette>\n    <\/s:FastNonUniformHeatmapRenderableSeries.ColorMap>\n<\/s:FastNonUniformHeatmapRenderableSeries><\/pre><\/div>\n\n\n\n

You can find a demo of Non-Uniform Heatmap Chart in SciChart WPF Examples Suite<\/a>, full source code on our GitHub<\/a> and documentation here<\/a>.<\/p>\n\n\n\n

Optional Candlesticks Rendering in Market Profile Chart<\/h2>\n\n\n\n

Rendering of Candlesticks has been made optional for FastHisotbarRenderableSeries.
\"\"<\/p>\n\n\n\n

This behavior is controlled via the ShowCandlesticks property on FastHisotbarRenderableSeries:<\/p>\n\n\n\n

<s:FastHistoBarRenderableSeries\n    ShowCandlesticks=\"False\"\n    DataSeries=\"{Binding DataSeries, Mode=TwoWay}\"\n    HistogramMode=\"{Binding HistogramBarMode, Mode=TwoWay}\"\n    HorizontalBarSpacing=\"{Binding HorizontalBarSpacing, Mode=TwoWay}\"\n    MaxHistoBarCandles=\"{Binding MaxHistoBarCandles, Mode=TwoWay}\"\n    PaletteProvider=\"{StaticResource VolumeLadderThresholdPaletteProvider}\"\n    TickSize=\"{Binding TickSize, Mode=TwoWay}\"\n    VerticalBarSpacing=\"{Binding VerticalBarSpacing, Mode=TwoWay}\"\n    StrokeUp=\"#7052CC54\"\n    StrokeDown=\"#D0E26565\">\n    \n    <s:FastHistoBarRenderableSeries.FillUp>\n        <SolidColorBrush Color=\"#7052CC54\" \/>\n    <\/s:FastHistoBarRenderableSeries.FillUp>\n    \n    <s:FastHistoBarRenderableSeries.FillDown>\n        <SolidColorBrush Color=\"#D0E26565\" \/>\n    <\/s:FastHistoBarRenderableSeries.FillDown>\n\n    <s:FastHistoBarRenderableSeries.AskBarStyle>\n        <Style TargetType=\"s:HistogramBar\">\n            <Setter Property=\"Stroke\" Value=\"{Binding AskStroke}\" \/>\n            <Setter Property=\"Fill\" Value=\"{Binding AskFill}\" \/>\n        <\/Style>\n    <\/s:FastHistoBarRenderableSeries.AskBarStyle>\n\n    <s:FastHistoBarRenderableSeries.BidBarStyle>\n        <Style TargetType=\"s:HistogramBar\">\n            <Setter Property=\"Stroke\" Value=\"{Binding BidStroke}\" \/>\n            <Setter Property=\"Fill\" Value=\"{Binding BidFill}\" \/>\n        <\/Style>\n    <\/s:FastHistoBarRenderableSeries.BidBarStyle>\n\n<\/s:FastHistoBarRenderableSeries><\/pre><\/div>\n\n\n\n

You can find an example of Market Profile Charts with full source code on our GitHub<\/a> and documentation here<\/a>.<\/p>\n\n\n\n

Specifying Bar Width in Pixels<\/h2>\n\n\n\n

ErrorBar Series and Column Series allows setting bar width in pixels. This can be done by setting the DataPointWidthMode property to “Absolute” and the DataPointWidth property to the desired width in pixels:<\/p>\n\n\n\n

<s:FastErrorBarsRenderableSeries DataPointWidthMode=\"Absolute\"\n                                 DataPointWidth=\"15\"\n                                 StrokeThickness=\"1\"\n                                 Stroke=\"Blue\"\n                                 ErrorDirection=\"YAxis\" \/>\n\n<s:FastColumnRenderableSeries DataPointWidthMode=\"Absolute\"\n                              DataPointWidth=\"50\"\n                              StrokeThickness=\"1\"\n                              Stroke=\"#A99A8A\">\n    <s:FastColumnRenderableSeries.Fill>\n        <LinearGradientBrush StartPoint=\"0,0\" EndPoint=\"0,1\">\n            <GradientStop Offset=\"0\" Color=\"LightSteelBlue\" \/>\n            <GradientStop Offset=\"1.0\" Color=\"SteelBlue\" \/>\n        <\/LinearGradientBrush>\n    <\/s:FastColumnRenderableSeries.Fill>\n<\/s:FastColumnRenderableSeries><\/pre><\/div>\n\n\n\n

<\/p>\n\n\n\n

Optional Rendering of Zero Columns <\/h2>\n\n\n\n

Rendering of Columns with zero height has been made optional for Columns and StackedColumns series types. It is enabled by default. This behavior is controlled via the DrawZeroDataPoints property:<\/p>\n\n\n\n

<s:FastColumnRenderableSeries DrawZeroDataPoints=\"False\"\n                              StrokeThickness=\"1\"\n                              Stroke=\"#A99A8A\" \/><\/pre><\/div>\n\n\n\n

Control Over Allocated Memory<\/h2>\n\n\n\n

By default, SciChart doesn’t deallocate internal arrays in DataSeries in order to avoid performance drawback in demanding cases. Now, it is possible to specify that all allocated memory must be released. This is done by passing appropriate flag value when calling the Clear() method on a DataSeries:<\/p>\n\n\n\n

\/\/ Create a DataSeries, allocating memory for 1000 items\nvar dataSeries = new XyDataSeries<double>(1000);\n\n\/\/ Work with the DataSeries\n...\n\n\/\/ Clear the DataSeries\n\/\/ Specify that all allocated memory must be released \ndataSeries.Clear(true);<\/pre><\/div>\n\n\n\n

Disabling Compatibility Warnings<\/h2>\n\n\n\n

SciChart drawing engine writes warnings to the Output in case if any issues are detected. Now, it is possible to disable this via the VisualXcceleratorEngine.WriteWarningsToOutput static property:<\/p>\n\n\n\n

\/\/ Disable writing compatibility warnings to the Output\nVisualXcceleratorEngine.WriteWarningsToOutput = false;<\/pre><\/div>\n\n\n\n

<\/p>\n\n\n\n

Other Features & Improvements<\/strong><\/h3>\n\n\n\n