Chart.aspx parameters
| Parameter Name | Description | Available values | Default |
| Required fields | |||
| Provider=DB | Data provider, the system will use class WebDemos.[Provider]DataManager as data provider | DB,Yahoo,other custom data provider. If the parameter is DB, the chart system will use class DBDataManager as the data provider | |
| Code=MSFT | Stock symbol | ||
| Option fields | |||
| Span=MONTH6 | Show stock data for latest 6 month | DAY10,WEEK1,MONTH2,YEAR10 etc. | MONTH6 |
| StartTime=20040105 | Start time of the chart | ||
| EndTime=20050101 | End time of the chart | ||
| Skin=RedWhite | Chart skin | BlackBlue,PinkBlue,GreenRed, BlackWhite,GreenWhite,CyanGreen, OceanBlue,RedBlack,RedWhite,Temp,White | RedWhite |
| Size=800*600 | Chart size | 600*800 | |
| Cycle=DAY1 | Data cycle | DAY1, WEEK1, MONTH2 etc. | DAY1 |
| XFormat=MMMdd | X-axis text format | If no value specified, will set by the chart system automatically | |
| YFormat=f2 | Y-axis text format | If no value specified, will set by the chart system automatically | |
| Type | Stock Render Type | HLCBars,OHLCBars,Line,Candle | Candle |
| Main | Main area formula name | Don't specify or MainArea(for intraday chart) | |
| Over | Overlay formulas, seperate by semi-colon | SAR;ZigW etc.All formulas | |
| IND | Indicator area formulas, seperate by semi-colon | MACD;RSI etc.All formulas | |
| MA | Moving average line, seperate by semi-colon | 5;13;34 etc. | |
| EMA | Exp Moving average line seperate by semi-colon | 5;13;34 etc. | |
| COMP | Overlay compare stocks, seperate by semi-colon or comma | ^DJI | |
| XCycle | Label frequency in X-axis | MONTH1 | |
| Scale | ScaleType of main area | Normal , Log | |
| BMargin | Bottom margin in the main area, default is zero | Positive number | |
| SV | 0 mean don't show value label at top of each area | 0 or 1 | |
| X | X pos of the cross cursor | ||
| Y | Y pos of the cross cursor | ||
| Layout | Layout will draw text, icon, rectangle, filled rectangle on to the chart, this is useful when you want to draw text, legend or other informations to the chart | Layout should be defined in web.config. if the value is Legend, the chart system will take the value of LegendLayout in web.config | |