12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- using System;
- using System.Collections.Generic;
- using System.IO;
- using System.Linq;
- using UnityEditor;
- using UnityEngine;
- using UnityEngine.EventSystems;
- using UnityEngine.UI;
- using XCharts.Runtime;
- using ADB = UnityEditor.AssetDatabase;
- namespace XCharts.Editor
- {
- public partial class XChartsEditor
- {
- [MenuItem("XCharts/PolarChart/Line", priority = 54)]
- [MenuItem("GameObject/XCharts/PolarChart/Line", priority = 54)]
- public static void PolarChart()
- {
- AddChart<PolarChart>("PolarChart");
- }
- [MenuItem("XCharts/PolarChart/Radial Bar", priority = 54)]
- [MenuItem("GameObject/XCharts/PolarChart/Radial Bar", priority = 54)]
- public static void PolarChart_RadialBar()
- {
- var chart = AddChart<PolarChart>("PolarChart");
- chart.DefaultRadialBarPolarChart();
- }
- [MenuItem("XCharts/PolarChart/Tangential Bar", priority = 54)]
- [MenuItem("GameObject/XCharts/PolarChart/Tangential Bar", priority = 54)]
- public static void PolarChart_TangentialBar()
- {
- var chart = AddChart<PolarChart>("PolarChart");
- chart.DefaultTangentialBarPolarChart();
- }
- [MenuItem("XCharts/PolarChart/Heatmap", priority = 54)]
- [MenuItem("GameObject/XCharts/PolarChart/Heatmap", priority = 54)]
- public static void PolarChart_Heatmap()
- {
- var chart = AddChart<PolarChart>("PolarChart");
- chart.DefaultHeatmapPolarChart();
- }
- }
- }
|