#region 程序集 SLVisifire.Charts.dll, v2.0.50727
// E:\Visifire\SLVisifire.Charts.dll
#endregion
using System;
namespace Visifire.Charts
{
public enum ChartValueTypes
{
Auto = 0,
Numeric = 1,
Date = 2,
DateTime = 3,
Time = 4,
}
}
How to set the linechart's x-axis data type is a string type?Open source code has date, datetime, auto, but not the string?
#1
Posted 21 June 2012 - 06:24 AM
#2
Posted 22 June 2012 - 04:19 AM
Regards,
Vivek
Team Visifire
#3
Posted 25 June 2012 - 01:07 AM
I means the linechart's x-axis data type ,but you example is not the linechartYou have to set AxisXLabel property in DataPoints.
http://www.visifire..../AxisXLabel.htm
#4
Posted 25 June 2012 - 05:04 AM
Regards,
Vivek
Team Visifire
#5
Posted 27 June 2012 - 04:01 AM
then what is the "auto" type? auto means one of the "Numeric = 1, Date = 2, DateTime = 3, Time = 4, "Is it right?As you want to set string values in AxisX, you can achieve it by setting AxisXLabel property in each DataPoint. The default value for XValueType property is Auto. If this has not answered your query, please elaborate it.
#6
Posted 27 June 2012 - 04:12 AM
Regards,
Vivek
Team Visifire
#7
Posted 27 June 2012 - 04:25 AM
last question:In a line, Dose linechart's x-axis and y-axis can both be Negative number?Yes. If the value is set to Auto, Visifire will set the actual value internally depending upon the type of data.
#8
Posted 28 June 2012 - 03:58 AM
Regards,
Vivek
Team Visifire
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











