Hi,
I am trying to set the scrollbars to the chart. In design view i set the property EnableScrollBar="True", and run the chart application, but i did not get scrollbars in my chart. I think when i set the EnableScrollBar property to "true", it has to automatically set the ScrollBarImage property. But it it not automatically setting the ScrollBarImage property.
could you let me know what should i do for getting the scrollbars to the cart.
Thanks in Advance
Sreenivas
The functionality to create the scrollbar images is actually in the designer, so you must set EnableScrollbar = true in Visual Studio at design time to generate the images. Or just copy the scrollbar images from another chart you've already done this for.
Since these images are created only once, they work independently from the DeploymentScenario.
I had the similar problem earlier. I set the EnableScrollbar property on the chart to "true", but could not see the scroolbar on the rendered chart. After days of research I accidently found that I need to call the DataBind() method on the chart. Initially I was only adding the points to chart and it was rendering the chart, but without scrollbars. Calling DataBind() fixed the problem.
However, I have another problem now. The images in scrollbar are not always created in the ChartImages folder. And when it is not created the chart shows only placeholders of the scrollbar, which is really bad.
My first question is, if I have set the deployment scenario of my chart as Session, so why should images be created on the disk. This consumes a lot of disk space. For a single chart 60 images were created which consumes almost 50 KBs.
Secondly, why are images not created always, I just see placeholders of the scrollbars in my application which makes the chart look very ugly.
To me it looks like there is not much missing for the scrollBars to work in a composite chart. The chart is rendered correct and I see the correct scrollbar. The only problem is that the scrollbar doesn't react on any user interaction.
Uli
I'd love to see that feature too.
Also the help and online examples are not very helpful here. I haven't found anything about an exection for composite charts here.
Thanks
I see you're using a composite chart in your application. Unfortunately, there is no scrolling available in the composite charts at this time. You can submit a feature request here: http://devcenter.infragistics.com/Protected/RequestFeature.aspx