Hi,
I am putting together a line chart to display data from a MSSQL database but cannot stop the numerical score labels from displaying. I have gone through all of the examples but need a little assistance. Please take a look at what I have and add what I need to stop the scores from rendering on the lines. I have attached images of existing render and table.
I appreciate your time.
I am putting together a line chart to display data from a MSSQL database but cannot stop the numerical score labels from displaying. I have gone through all of the examples but need a little assistance. Please take a look at what I have and add what I need to stop the scores from rendering on the lines. I have attached images of existing render and table.
I appreciate your time.
<asp:SqlDataSource ID=
"SqlDataSource1"
ConnectionString=
"<%$ ConnectionStrings:IPdataConnectionString %>"
ProviderName=
"System.Data.SqlClient"
SelectCommand=
"SELECT top 7 Date = CONVERT(char(10), Date, 101), score, IPaddress, Partner FROM IPhistory WHERE Partner = 'NEAstates' ORDER BY Date ASC;"
runat=
"server"
>
</asp:SqlDataSource>
<telerik:radchart id=
"RadChart4"
runat=
"server"
width=
"800px"
datasourceid=
"SqlDataSource1"
defaulttype=
"Line"
autolayout=
"true"
charttitle-visible=
"false"
>
<Appearance TextQuality=
"AntiAlias"
>
</Appearance>
<PlotArea>
<Appearance Dimensions-Margins=
"18%, 24%, 12%, 16%"
></Appearance>
<YAxis Step=
"10"
AxisMode=
"Extended"
>
<Appearance MajorGridLines-Visible=
"true"
MinorGridLines-Visible=
"false"
>
</Appearance>
</YAxis>
<XAxis DataLabelsColumn=
"Date"
LayoutMode=
"Between"
>
<Appearance ValueFormat=
"ShortDate"
MajorGridLines-Visible=
"true"
>
<LabelAppearance RotationAngle=
"10"
Position-AlignedPosition=
"Top"
>
</LabelAppearance>
</Appearance>
</XAxis>
</PlotArea>
</telerik:radchart>
protected
void
Page_Load(
object
sender, EventArgs e)
{
if
(!Page.IsPostBack)
{
// Manually setting the series groups and Y values columns
RadChart4.DataGroupColumn =
"IPaddress"
;
RadChart4.DataManager.ValuesYColumns =
new
string
[1] {
"score"
};
RadChart4.Skin =
"LightBlue"
;
ChartSeries chartSeries =
new
ChartSeries();
chartSeries.Type = ChartSeriesType.Line;
chartSeries.Appearance.LabelAppearance.Visible =
false
;
}
}