Hai
How to give tooltip in radhtml bar chart,i am plot bar chart dynamically,but default value is appear in tooltip if i mouse over in bars, below is my html code for bar chart
<telerik:RadHtmlChart runat="server" ID="BarChart" Width="500px" Height="300px" Transitions="true" Skin="Forest">
<ChartTitle Text="DASHBOARD">
<Appearance Align="Center" BackgroundColor="White" Position="Top"></Appearance>
</ChartTitle>
<Legend>
<Appearance BackgroundColor="White" Position="Bottom"></Appearance>
</Legend>
<PlotArea>
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<XAxis AxisCrossingValue="0" Color="#b3b3b3" Reversed="false">
</XAxis>
<YAxis AxisCrossingValue="0" Color="#b3b3b3">
<LabelsAppearance DataFormatString="{0}"></LabelsAppearance>
</YAxis>
</PlotArea>
</telerik:RadHtmlChart>
and my programatically plot code is
BarChart.PlotArea.Series.Clear()
BarChart.PlotArea.XAxis.Items.Clear()
Dim yaxis As New BarSeries()
Dim yaxis1 As New BarSeries()
yaxis.Name = "Pages"
yaxis1.Name = "Files"
For Each row As DataRow In dt.Rows
BarChart.PlotArea.XAxis.Items.Add(Convert.ToDateTime(row(0)).ToString("dd MMM"))
If (row(1).ToString = "") Then
Else
yaxis.SeriesItems.Add(row(1))
' yaxis.TooltipsAppearance.DataFormatString = "{0} " + row(1) + " , {1} nnnnnnn"------here i try tooltip but bar chart value is appear ,i mean row(1) value is "6"
End If
If (row(2).ToString = "") Then
Else
yaxis1.SeriesItems.Add(row(2))
' yaxis1.TooltipsAppearance.DataFormatString = "{0} " + row(1) + " , {1} nnnnnnn"---here i try tooltip but bar chart value is appear ,i mean row(2) value is "3"
End If
Next
BarChart.PlotArea.Series.Add(yaxis)
BarChart.PlotArea.Series.Add(yaxis1)
pls reply asap
Regards
Aravind
How to give tooltip in radhtml bar chart,i am plot bar chart dynamically,but default value is appear in tooltip if i mouse over in bars, below is my html code for bar chart
<telerik:RadHtmlChart runat="server" ID="BarChart" Width="500px" Height="300px" Transitions="true" Skin="Forest">
<ChartTitle Text="DASHBOARD">
<Appearance Align="Center" BackgroundColor="White" Position="Top"></Appearance>
</ChartTitle>
<Legend>
<Appearance BackgroundColor="White" Position="Bottom"></Appearance>
</Legend>
<PlotArea>
<Appearance>
<FillStyle BackgroundColor="White"></FillStyle>
</Appearance>
<XAxis AxisCrossingValue="0" Color="#b3b3b3" Reversed="false">
</XAxis>
<YAxis AxisCrossingValue="0" Color="#b3b3b3">
<LabelsAppearance DataFormatString="{0}"></LabelsAppearance>
</YAxis>
</PlotArea>
</telerik:RadHtmlChart>
and my programatically plot code is
BarChart.PlotArea.Series.Clear()
BarChart.PlotArea.XAxis.Items.Clear()
Dim yaxis As New BarSeries()
Dim yaxis1 As New BarSeries()
yaxis.Name = "Pages"
yaxis1.Name = "Files"
For Each row As DataRow In dt.Rows
BarChart.PlotArea.XAxis.Items.Add(Convert.ToDateTime(row(0)).ToString("dd MMM"))
If (row(1).ToString = "") Then
Else
yaxis.SeriesItems.Add(row(1))
' yaxis.TooltipsAppearance.DataFormatString = "{0} " + row(1) + " , {1} nnnnnnn"------here i try tooltip but bar chart value is appear ,i mean row(1) value is "6"
End If
If (row(2).ToString = "") Then
Else
yaxis1.SeriesItems.Add(row(2))
' yaxis1.TooltipsAppearance.DataFormatString = "{0} " + row(1) + " , {1} nnnnnnn"---here i try tooltip but bar chart value is appear ,i mean row(2) value is "3"
End If
Next
BarChart.PlotArea.Series.Add(yaxis)
BarChart.PlotArea.Series.Add(yaxis1)
pls reply asap
Regards
Aravind