/************************************************/
/* */
/* Copyright (c) 2018 - 2021 monitor1394 */
/* https://github.com/monitor1394 */
/* */
/************************************************/
using System.Linq;
using UnityEngine;
using UnityEngine.UI;
using System.Collections.Generic;
using System;
using UnityEngine.EventSystems;
using XUGL;
namespace XCharts
{
///
/// the layout is horizontal or vertical.
/// 垂直还是水平布局方式。
///
public enum Orient
{
///
/// 水平
///
Horizonal,
///
/// 垂直
///
Vertical
}
public partial class BaseChart : BaseGraph
{
protected static readonly string s_TitleObjectName = "title";
protected static readonly string s_SubTitleObjectName = "title_sub";
protected static readonly string s_LegendObjectName = "legend";
protected static readonly string s_SerieLabelObjectName = "label";
protected static readonly string s_SerieTitleObjectName = "serie";
[SerializeField] protected string m_ChartName;
[SerializeField] protected ChartTheme m_Theme;
[SerializeField] protected Settings m_Settings;
[SerializeField] protected List
m_Titles = new List() { Title.defaultTitle };
[SerializeField] protected List