This is a migrated thread and some comments may be shown as answers.
Zoom in barchart
7 Answers 119 Views
This is a migrated thread and some comments may be shown as answers.
Davy
Top achievements
Rank 1
Davy asked on 26 May 2008, 08:58 AM
Hello!

I have a chart filled with some series, mostly line series. I am using the zoom and scrollfunction and i have some questions...

Why doesn't the chart support zoom and scroll when the chart includes a bar serie among the line series... (bug or feature), I understand that a zoom-function in a bar chart wouldn't be of much use but when you combine the line and bar chart it becomes useable. (The same issue with gantt chart)

My second question/bugreport is that, when i'm zooming an area the scrollbar takes up some of the chartspace and that's a big issue for me since i only have a low (in height) chart. Is it possible to put the scrollbar beneath the chart and above the gradings, not IN the chart?

/Davy Wester

7 Answers, 1 is accepted

Sort by
0
Giuseppe
Telerik team
answered on 27 May 2008, 10:01 AM
Hello Davy,

As you have correctly guessed zooming and scrolling is not supported neither for Bar, nor for Gantt series types, and currently that disables zooming and scrolling for any combination of supported series types that contains bar or gantt as well. We will forward your feedback to our developers so they can consider adding support for the described scenario for one of the next versions of the control.

As for your second question -- unfortunately this implementation detail cannot be customized and it will not be possible to change the position of the scrollbar.


Best wishes,
Manuel
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Tye
Top achievements
Rank 1
answered on 19 Aug 2008, 06:14 PM
Hello. We have a scenario where scrolling for bar charts is necessary. Based on the comments in this thread, as of May 2008 it was not supported.

Do you know if this will be supported in a future version? Has it been added to the product roadmap, by any chance?

If not, do you have any general suggestions or examples on how to handle large datasets in a bar chart (other than making the dataset smaller, of course)?

Thanks!

Tye
0
Davy
Top achievements
Rank 1
answered on 20 Aug 2008, 05:33 AM
According to the list of changes in 2008 Q2 release.
You should now be able to use scrolling with barcharts, but you need atleast one lineserie och lineareaserie.

I haven't tested but maybe you could put a lineserie and add "empty-values" to the serie. Then it will not be visible.
Then you can add the bars and also use zooming and scrolling.

Hope it helps

/Davy
0
dingjing
Top achievements
Rank 2
answered on 21 Aug 2008, 01:45 PM

RadChart

What’s Fixed:

  1. Candlestick charts now respect XValue
  2. Fixed issues with nullable data source
  3. Fixed issues with DefaultLabelValue
  4. Fixed OutOfMemoryException caused by certain gradient settings
  5. Top left pixel is not grey anymore
  6. Fixed issues with chart series item label margins
  7. Fixed some calculation issues with rotated label dimensions.
This is the portion of the Q2 2008 release notes regarding RadChart. I don't see anything about client-side zooming and scrolling. Are you sure it is supported in this version?
0
Tye
Top achievements
Rank 1
answered on 21 Aug 2008, 02:15 PM
Looks like it was added in 2008.1 619:

What’s New in RadControls for ASP.NET AJAX Q1 2008 SP2 (Version Number 2008.1.619):

RadChart

What’s New:

  1. New GroupNameFormat property to control the series names in grouped databound charts.
  2. Zooming and scrolling is now supported for any set of series containing at least one line or area series.
  3. Automatically generated ChartSeriesItem labels are now available in BeforeLayout event handler.
  4. Added HttpHandlerUrl property to customize the path to the ChartHttpHandler.

Adding a blank line series did enable scrolling for the bar chart, so thanks for the help!

Regards,

Tye

0
Davy
Top achievements
Rank 1
answered on 21 Aug 2008, 02:25 PM
Great!

Glad i could help

/Davy
0
Sorin
Top achievements
Rank 1
answered on 04 Sep 2008, 01:14 PM
Hi Davy,

For your second issue, you could use AddRange to move up your chart to pass the scroolbars.
Asked by
Davy
Top achievements
Rank 1
Answers by
Giuseppe
Telerik team
Tye
Top achievements
Rank 1
Davy
Top achievements
Rank 1
dingjing
Top achievements
Rank 2
Sorin
Top achievements
Rank 1
Share this question
or