작업 조건 분석 기능 개발
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ChartAndGraph
|
||||
{
|
||||
interface IMixedChartDelegate
|
||||
{
|
||||
ScrollableAxisChart CreateCategoryView(Type t, ScrollableAxisChart prefab);
|
||||
void SetData(Dictionary<string, BaseScrollableCategoryData> data);
|
||||
void RealaseChart(ScrollableAxisChart chart);
|
||||
void DeactivateChart(ScrollableAxisChart chart);
|
||||
void ReactivateChart(ScrollableAxisChart chart);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b59f09bd3fa396546a37d7aaace2481f
|
||||
timeCreated: 1506365111
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,45 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ChartAndGraph
|
||||
{
|
||||
/// <summary>
|
||||
/// this inteface hides some functionallity so it is not public with scrollableAxisData. This funcationallity is meant to be used internally by the mixedSeriesChart
|
||||
/// </summary>
|
||||
interface IMixedSeriesProxy
|
||||
{
|
||||
/// <summary>
|
||||
/// this method allows The MixesSeriesChart to add a new category in a generic way
|
||||
/// </summary>
|
||||
/// <param name="category"></param>
|
||||
/// <param name="data"></param>
|
||||
/// <returns></returns>
|
||||
bool AddCategory(string category, BaseScrollableCategoryData data);
|
||||
/// <summary>
|
||||
/// checks if the specified category already exist in the chart
|
||||
/// </summary>
|
||||
/// <param name="catgeory"></param>
|
||||
/// <returns></returns>
|
||||
bool HasCategory(string catgeory);
|
||||
/// <summary>
|
||||
/// clears the specified category of any data
|
||||
/// </summary>
|
||||
/// <param name="category"></param>
|
||||
void ClearCategory(string category);
|
||||
/// <summary>
|
||||
/// this method allows The MixesSeriesChart to append a datum to the specified category in a generic way
|
||||
/// </summary>
|
||||
/// <param name="category"></param>
|
||||
/// <param name="value"></param>
|
||||
void AppendDatum(string category, MixedSeriesGenericValue value);
|
||||
/// <summary>
|
||||
/// this method allows The MixesSeriesChart to append a series of datum objects to the specified category in a generic way
|
||||
/// </summary>
|
||||
/// <param name="category"></param>
|
||||
/// <param name="value"></param>
|
||||
void AppendDatum(string category, IList<MixedSeriesGenericValue> value);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4bf96a63ac7b9e942b697b3026791445
|
||||
timeCreated: 1507064030
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,51 @@
|
||||
#define Graph_And_Chart_PRO
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
namespace ChartAndGraph
|
||||
{
|
||||
/// <summary>
|
||||
/// represets a generic datum in a chart. This datum can be a point in a graph , a candle stick, a bar or anything else
|
||||
/// </summary>
|
||||
public struct MixedSeriesGenericValue
|
||||
{
|
||||
/// <summary>
|
||||
/// the name of the object. Used in item lables
|
||||
/// </summary>
|
||||
string name;
|
||||
/// <summary>
|
||||
/// the index of the item. This can be used for example in stacked bar chart. Objects with the same item value are the stacks of the same bar
|
||||
/// </summary>
|
||||
int index;
|
||||
/// <summary>
|
||||
/// the index of this item within a parent item. for example bar stacks of the same bar have different subIndex value
|
||||
/// </summary>
|
||||
int subIndex;
|
||||
/// <summary>
|
||||
/// defines points that can be used in different ways by different series
|
||||
/// </summary>
|
||||
double x, y;
|
||||
/// <summary>
|
||||
/// defines points that can be used in different ways by different series
|
||||
/// </summary>
|
||||
double x1, y1;
|
||||
/// <summary>
|
||||
/// defines a size that can be used in different ways by different series
|
||||
/// </summary>
|
||||
double size;
|
||||
/// <summary>
|
||||
/// defines the high end of a custom range that can used in diffrent ways by different series
|
||||
/// </summary>
|
||||
double high;
|
||||
/// <summary>
|
||||
/// defines the low end of a custom range that can be used in different ways by different series
|
||||
/// </summary>
|
||||
double low;
|
||||
/// <summary>
|
||||
/// this can contain just about anything. This value is passed to child prefabs, use this to create custom behaviors such as a chart within a chart etc
|
||||
/// </summary>
|
||||
object userData;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 55acaff06082d9945a990f4a3fd11703
|
||||
timeCreated: 1506105425
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user