mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-28 20:28:46 +00:00
修复Radar切换到Circle异常的问题 #139
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
## Latest
|
## Latest
|
||||||
|
|
||||||
|
* (2021.04.29) Fixed an issue with `Radar` switching to `Circle` anomaly #139
|
||||||
* (2021.04.29) Added `Settings`'s `reversePainter` to set whether or not `Serie` is drawn in reverse order
|
* (2021.04.29) Added `Settings`'s `reversePainter` to set whether or not `Serie` is drawn in reverse order
|
||||||
* (2021.04.28) Fixed bug where `AxisLabel` displayed incorrectly with `DataRoom` (#138)
|
* (2021.04.28) Fixed bug where `AxisLabel` displayed incorrectly with `DataRoom` (#138)
|
||||||
* (2021.04.26) Fixed dynamically creating chart at runtime would be abnormal #137
|
* (2021.04.26) Fixed dynamically creating chart at runtime would be abnormal #137
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
|
|
||||||
## Latest
|
## Latest
|
||||||
|
|
||||||
|
* (2021.04.29) 修复`Radar`切换到`Circle`异常的问题 #139
|
||||||
* (2021.04.29) 增加`Settings`的`reversePainter`可设置`Serie`的绘制是否逆序
|
* (2021.04.29) 增加`Settings`的`reversePainter`可设置`Serie`的绘制是否逆序
|
||||||
* (2021.04.28) 增加`SerieData`的`ignore`可忽略当前数据项
|
* (2021.04.28) 增加`SerieData`的`ignore`可忽略当前数据项
|
||||||
* (2021.04.28) 修复`DataZoom`下`AxisLabel`显示不准确的问题 #138
|
* (2021.04.28) 修复`DataZoom`下`AxisLabel`显示不准确的问题 #138
|
||||||
|
|||||||
@@ -686,7 +686,7 @@ namespace XCharts
|
|||||||
var lineWidth = radar.splitLine.GetWidth(chart.theme.radar.splitLineWidth);
|
var lineWidth = radar.splitLine.GetWidth(chart.theme.radar.splitLineWidth);
|
||||||
for (int i = 0; i < radar.splitNumber; i++)
|
for (int i = 0; i < radar.splitNumber; i++)
|
||||||
{
|
{
|
||||||
Color color = radar.splitArea.color[i % radar.splitArea.color.Count];
|
var color = radar.splitArea.GetColor(i, chart.theme.radiusAxis);
|
||||||
outsideRadius = insideRadius + block;
|
outsideRadius = insideRadius + block;
|
||||||
if (radar.splitArea.show)
|
if (radar.splitArea.show)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ namespace XCharts
|
|||||||
{
|
{
|
||||||
gameObject.SetActive(flag);
|
gameObject.SetActive(flag);
|
||||||
}
|
}
|
||||||
var hideFlags = flag ? HideFlags.None : HideFlags.HideInHierarchy;
|
var hideFlags = flag && isDebugMode ? HideFlags.None : HideFlags.HideInHierarchy;
|
||||||
if (gameObject.hideFlags != hideFlags)
|
if (gameObject.hideFlags != hideFlags)
|
||||||
{
|
{
|
||||||
gameObject.hideFlags = hideFlags;
|
gameObject.hideFlags = hideFlags;
|
||||||
|
|||||||
Reference in New Issue
Block a user