Dear,
I am building dynamic scatter line & dot chart from database with dynamic numbers of chart series. When i tried pre-configure chart series it working fine.
Class representation.
public
class
GraphSeriesPoint {
public
GraphSeriesPoint(
double
X,
double
Y,
string
Tooltip)
{
this
.PointValueX = X;
this
.PointValueY = Y;
this
.PointTooltip = Tooltip; }
public
double
PointValueX {
get
;
set
; }<br>
public
double
PointValueY {
get
;
set
; }<br>
public
string
PointTooltip {
get
;
set
; }<br> }<br>
public
class
GraphSeries<br> {<br>
public
int
SeriesID {
get
;
set
; }<br>
public
string
SeriesName {
get
;
set
; }<br>
public
string
SeriesColor {
get
;
set
; }<br>
public
string
SeriesDashType {
get
;
set
; }<br><br>
public
List<GraphSeriesPoint> Points {
get
;
set
;}<br> }<br>
public
class
GraphData<br> {<br>
public
int
GraphID {
get
;
set
; }<br>
public
string
GraphTitle {
get
;
set
; }<br>
public
string
OperatingWindow {
get
;
set
; }<br>
public
string
OperatingEnvelop {
get
;
set
; }<br>
public
string
DesignEnvelop {
get
;
set
; }<br><br><br>
public
string
XTitle {
get
;
set
; }<br>
public
double
XMin {
get
;
set
; }<br>
public
double
XMax {
get
;
set
; }<br><br><br>
public
string
YTitle {
get
;
set
; }<br>
public
double
YMin {
get
;
set
; }<br>
public
double
YMax {
get
;
set
; }<br><br>
public
List<GraphSeries> Lines {
get
;
set
; }<br> }