增加ScatterChart散点图

This commit is contained in:
monitor1394
2019-07-21 23:10:38 +08:00
parent ff8057690c
commit 8a25a09435
16 changed files with 131255 additions and 45738 deletions

View File

@@ -24,9 +24,9 @@ public class ChartEditorHelper
SerializedProperty stringDataProp = prop.FindPropertyRelative("m_JsonData");
SerializedProperty needParseProp = prop.FindPropertyRelative("m_DataFromJson");
float defalutX = drawRect.x;
drawRect.x = EditorGUIUtility.labelWidth + 40;
drawRect.width = EditorGUIUtility.currentViewWidth - EditorGUIUtility.labelWidth - 60;
if (GUI.Button(drawRect, new GUIContent("Parse Json", "Parse data from input json")))
drawRect.x = EditorGUIUtility.labelWidth + 15;
drawRect.width = EditorGUIUtility.currentViewWidth - EditorGUIUtility.labelWidth - 35;
if (GUI.Button(drawRect, new GUIContent("Parse JsonData", "Parse data from input json")))
{
showTextArea = !showTextArea;
bool needParse = !showTextArea;