To check only specific set (range) of data on x-axis

65 views
Skip to first unread message

Priyanka

unread,
Sep 6, 2012, 8:28:20 AM9/6/12
to google-visua...@googlegroups.com
Hi,

I have a data-table with more than 1000 rows in which for example, i plot a line chart for Name (values N1 to N1000, on X-axis) vrs Age ( values V1 to V1000 on Y-axis) sorted on age. 

Is there a way using which we can select specific range of names on x-axis and have a look at the corresponding values for y-axis something similar to Annotated time line chart or what we do using chart range filter ?

Using Annotated Time Line Chart or using chart range filter there is a dependency that X-axis should be one among number, date, datetime or timeofday. But i need this for Names (Strings) here.

Can someone help me in this?

Thanks for your time!!



asgallant

unread,
Sep 6, 2012, 10:16:54 AM9/6/12
to google-visua...@googlegroups.com
You can fake out the ChartRangeFilter by using the magic of calculated columns  >;o)

Create a DataView and set the columns equal to the DataTable's, but add one extra up front which gets a calculated value equal to the row index.  Set the columns used for the control and the chart to make them operate on the correct data and draw the dashboard using the view: http://jsfiddle.net/asgallant/spJ9A/ 
Reply all
Reply to author
Forward
0 new messages