[版本更新] LightningChart v.8.3 最新版重磅上线 -引入5个超实用的新功能-简数科技

LightningChart 最新版v.8.3全新发布,本次版本发布带来了一些新的功能,包括网格模型,三角鼠标追踪,下面将一一为大家介绍:


功能一:   网格模型,三角鼠标追踪

                              
 


使用MouseTriangleTraced 事件. 鼠标将会显示离相机最近的三角形注释

事件参数信息如下:

  • IntersectionPointAxisValues:intersection point of triangle face, in axes values
  • ModelSpaceTriangleCoordinates:array of 3 triangle corners (vertices) the mouse is hitting, in 3D model spacecoordinates
  • WorldSpaceTriangleCoordinates:array of 3 triangle corners (vertices) the mouse is hitting, in 3D world spacecoordinates.
  • NearestCoordinateIndex:Index of nearest coordinate index of traced triangle, value of 0…2. Use theindex to extract the coordinate from
  • ModelSpaceTriangleCoordinatesor WorldSpaceTriangleCoordinatesarray.


功能二:   SeriesEventMarkers新样式,Y轴投影

除了常用样式外,SeriesEventMarker支持两个特殊的Symbol.Shape样式设置,实现垂直线与Y轴刻度投影。如图中的HollowYAxis 和 HollowYAxisActive。它们具有1像素宽的垂直线,并且从Y轴 MajorTicks 和MinorTicks中选取位置。如需调整刻度长度,编辑YAxis.MajorDivTickStyle.LineLength和 YAxis.MinorDivTickStyle.LineLength 属性即可实现。

 
 


特殊事件标记样式HollowYAxis 和HollowYAxisActive,便于制作每个系列数据游标。

 

功能三:   XY线图颜色和样式事件改进
在事件参数中添加数据点指数:

HasDataPointIndices:Only applicable in FreeformPointLineSeries.
  • DataPointIndices:Data point indices that were included in the coordinates and colors arrays.Note: chart will skip subsequent points in line construction, if their X and Yvalues or coordinates are equal. Using DataPointIndices info, you can e.g. picka color for line point, from data point’s PointColorfield or external color array.
 


The new data point indicesarray is handy when picking a color by data point index (upper line),orduplicating coordinates to be make coloring with solid steps (lower line).

 

功能四:   极地视图PointLineSeries中新添线样式及颜色事件

极地视图PointLineSeries中新添线样式及颜色事件中设有坐标和颜色操作事件CustomLinePointColoringAndShaping。它包含与XY图相似的数据点指数 (请参考第3小节).

CustomLinePointColoringAndShaping用于操作颜色和直线的坐标的事件。
 
 

功能五:   极坐标图轴增强
轴可以通过幅度,角度或两者来反转。

反转角度比例,设置AngularReversed = True.反转幅度比例,设置AmplitudeReversed = True.



 




左边的比例没变,右边AngularReversed= True and AmplitudeReversed = True.支持 AmplitudeAxisAngle转换幅度轴位置。幅度比例角度可以设置为精准的角度(AmpitudeAxisAngleType= Absolute), 或 (AmpitudeAxisAngleType = Relative).

扫描二维码关注公众号,回复: 4068916 查看本文章
 



AngleOrigin = 30.AmplitudeAxisAngle = 90. On the left, AmplitudeAxisAngleType = Absolute. On theright, AmplitudeAxisAngleType = Relative: Overall the amplitude scale rotates 120 degrees in this case. 

默认情况下,图表尽量包含可能多的角度分割。控制角度分区,请设置AngularAxisAutoDivSpacing to False. 图表将会计算AngularAxisMajorDivCount分割区域数。如果图表空间太小而无法渲染所有分区和标签,则会使用可以容纳的分区数量。

简数科技为LightningChart图表控件提供免费中文技术支持服务,更多详情,请到LightningChart中文论坛查看:http://forum.jianshukeji.com
简数科技同时为Highcharts图表控件提供中文技术支持服务;

猜你喜欢

转载自www.cnblogs.com/highcharts/p/Highcharts.html