Hi Guys
I am using the Chart control to display some dashboard summary data. The page area I have is not that large, so I need to maximise its use!
Issue: I want to remove the title and legend and stretch out the chart size and utilise the title and legend area!
Now I have removed the Chart title (set visible to false) and tried a number of settings on the Legend - (set visible to false, changed the legend position etc), although when I remove the title and legend, the space on the top for the title and on the right side for the legend is not utilised for chart I am displaying. I have also tried increasing the width and height of the chart, but again this increases the total canvas size and we are still left with the blank space on the top and right. I either need to be able to reduce the size of the canvas the chart sits on, or increase the chart size utilising the blank space on the right and top of the chart.
Can this be done?
I have attached an image of my graph for reference, and coloured blue the area I need to utilise.
to access this RadCombobox inside javascript for some client side validation.
I wanted to know if there is a solution to a radgrid issue with the shift key in multiselection. When i do a multiselection of rows with shift key pressed, the radgrid doesn't throw a postback when the shift key is released.
I was testing some alternatives with the onkeyup event over radgrid but doesnt work well with shift key (dont throw event until ctrl key is pressed) , instead the event it works better with the ctrl key.
However i would appreciate a better solution that doesn't imply handling the key events.
I been follow this issue in this threads
Thanks in advance.
<
telerik:RadScriptManager
ID
=
"RadScriptManager1"
runat
=
"server"
>
</
telerik:RadScriptManager
>
<
telerik:RadRotator
ID
=
"RadRotator1"
runat
=
"server"
DataSourceID
=
"xmlDataSource1"
FrameDuration
=
"360000000"
Width
=
"675"
ItemWidth
=
"675"
Height
=
"265"
ScrollDirection
=
"Up"
ItemHeight
=
"265"
>
<
ItemTemplate
>
<
div
class
=
"itemTemplate"
>
<
img
src
=
"Images/<%# XPath("
filename") %>" style="border: 0px;" alt="banner" />
</
div
>
</
ItemTemplate
>
</
telerik:RadRotator
>
<
asp:XmlDataSource
ID
=
"xmlDataSource1"
runat
=
"server"
DataFile
=
"banners.xml"
></
asp:XmlDataSource
>
<
div
class
=
"nav"
>
<
a
href
=
"#"
onclick
=
"javascript:setNewContent(0);"
>Banner 1</
a
>
<
a
href
=
"#"
onclick
=
"javascript:setNewContent(1);"
>Banner 2</
a
>
<
a
href
=
"#"
onclick
=
"javascript:setNewContent(2);"
>Banner 3</
a
>
<
a
href
=
"#"
onclick
=
"javascript:setNewContent(3);"
>Banner 4</
a
>
<
a
href
=
"#"
onclick
=
"javascript:setNewContent(4);"
>Banner 5</
a
>
</
div
>
here the js:But doesn't work. What I have to do? //EDIT: What does not work? -> The animation does not work... the banner changes but without animationfunction setNewContent(selectedContentIndex) {
// finding the radRotator
var rotator = $find('<%= RadRotator1.ClientID %>');
rotator.set_currentItemIndex(selectedRotatorItem, true);
}