开发者论坛

 找回密码
 注册 (请使用非IE浏览器)
查看: 12172|回复: 0

LightningChart 最新版 v.8.3全新发布,汉化资源等你来拿

[复制链接]

0

精华

0

贡献

2

赞扬

帖子
66
软币
528
在线时间
56 小时
注册时间
2017-10-18
发表于 2018-4-6 17:31:00 | 显示全部楼层 |阅读模式
本帖最后由 LightningChart 于 2018-4-6 17:32 编辑

LightningChart最新版v.8.3全新发布,以下主要介绍新增的五个功能及如何实现。


1. 网格模型,三角鼠标追踪



Tracing MeshModels with mouse. Traced result is shown in an Annotation.

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

事件参数信息如下:
·         IntersectionPointAxisValues: intersection point of triangle face, in axes values
·         ModelSpaceTriangleCoordinates: array of 3 triangle corners (vertices) the mouse is hitting, in 3D model space coordinates
·         WorldSpaceTriangleCoordinates: array of 3 triangle corners (vertices) the mouse is hitting, in 3D world space coordinates.
·         NearestCoordinateIndex: Index of nearest coordinate index of traced triangle, value of 0…2. Use the index to extract the coordinate from ModelSpaceTriangleCoordinates or WorldSpaceTriangleCoordinates array.




2. SeriesEventMarkers新样式,Y轴投影

除了常用样式外,SeriesEventMarker支持两个特殊的Symbol.Shape样式设置,实现垂直线与Y轴刻度投影,如图中的HollowYAxis HollowYAxisActive它们具有1像素宽的垂直线,并且从Y MajorTicks MinorTicks 中选取位置。如需调整刻度长度,请编辑YAxis.MajorDivTickStyle.LineLength YAxis.MinorDivTickStyle.LineLength 属性
[size=0.83em]12.PNG (52.07 KB, 下载次数: 0)
下载附件
[color=rgb(153, 153, 153) !important]1 小时前 上传



[size=0.83em]12.PNG (52.07 KB, 下载次数: 0)
下载附件
[color=rgb(153, 153, 153) !important]1 小时前 上传



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




3.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 Y values or coordinates are equal. Using DataPointIndices info, you can e.g. pick a color for line point, from data point’s PointColor field or external color array.
[size=0.83em]13.PNG (32.56 KB, 下载次数: 0)
下载附件
[color=rgb(153, 153, 153) !important]1 小时前 上传




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




4. 极地视图PointLineSeries中新添线样式及颜色事件中设有坐标和颜色操作事件CustomLinePointColoringAndShaping它包含与XY图相似的数据点指数 (请参考第3小节).
[size=0.83em]14.PNG (162.47 KB, 下载次数: 0)
下载附件
[color=rgb(153, 153, 153) !important]1 小时前 上传



CustomLinePointColoringAndShaping event used to manipulate colors and coordinates of line.
5. 极坐标图轴增强
·         轴可以通过幅度,角度或两者来反转。
反转角度比例,设置AngularReversed = True.反转幅度比例,设置AmplitudeReversed = True.
[size=0.83em]15.PNG (138.07 KB, 下载次数: 0)
下载附件
[color=rgb(153, 153, 153) !important]1 小时前 上传



左边的比例没变,右边AngularReversed = True and AmplitudeReversed = True.


·           相比极地图一般方位,给与不同角度的幅度比例

AmplitudeAxisAngle转换幅度轴位置。幅度比例角度可以设置为精准的角度(AmpitudeAxisAngleType = Absolute), 或 (AmpitudeAxisAngleType = Relative).

[size=0.83em]16.PNG (98.79 KB, 下载次数: 0)
下载附件
[color=rgb(153, 153, 153) !important]1 小时前 上传



AngleOrigin= 30. AmplitudeAxisAngle = 90. On the left, AmplitudeAxisAngleType = Absolute.
On the right, AmplitudeAxisAngleType = Relative:  Overall the amplitude scale rotates 120degrees in this case.
·             角度分区设置
默认情况下,图表尽量包含可能多的角度分割。控制角度分区,请设置AngularAxisAutoDivSpacing to False. 图表将会计算AngularAxisMajorDivCount分割区域数。如果图表空间太小而无法渲染所有分区和标签,则会使用可以容纳的分区数量。


回复

使用道具 举报

Archiver|手机版|小黑屋|开发者网 ( 苏ICP备08004430号-2 )
版权所有:南京韵文教育信息咨询有限公司

GMT+8, 2024-3-29 17:55

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表