Let me see if I understand you correctly...You want the numbers 1..9 to be marked on the X axis, but no bubbles to be displayed in the corresponding section of the chart?
- VizBoy. On Sat, Mar 14, 2009 at 4:27 PM, jeevankodali <[email protected]>wrote: > > Thanks for the reply. It still doesn't solve my problem (or I am not > completely clear). Here is the reason: > > say I want the x-axis to show 1...9 and to have that, following your > suggestion, I make another dummy column which I put as the data source > for x-axis. But all my values should be before "3" on the x-axis and > still have the x-axis show till 9, which means that I will not have > any points outside 3 on the axis and the whole plot after 3 should be > empty. If I put dummy values as you said, it means I have to make sure > I put 9 for some datapoint and that datapoint is going to show at the > x-axis value of 9, right? > > Thanks > Jeevan > > On Mar 14, 8:43 am, VizBoy <[email protected]> wrote: > > Hi, > > if you mean that 1, 2, 3 are the actual x/y values in the datatable, > i.e., > > that your DataTable has exactly 3 rows and 3 columns, then that has > nothing > > to do with the motion chart's display. > > Look at the documentation at: > http://code.google.com/apis/visualization/documentation/gallery/motio... > > Look under Data Format. > > The x values that the motionchart shows can be in any of the columns > > starting from the 3rd. If it's the 3rd, if i recall correctly, then it > will > > put these values on the X axis by default. Otherwise, the viewer of the > > motionchart can change it. > > This means that you can have the values 1...9 (that you want to have as X > > values) in the 3rd column. > > The x and y values of the datatable itself, i.e., the row and column > values, > > don't have anything to do with the x and y values of the motionchart. the > x > > value (row index) denotes the serial number of one of the "bubbles" on > the > > chart, and the y value (column index) denotes the column index, i.e., > > whether this refers to the size of the bubble, the caption of the bubble, > > the X-axis value of the bubble, the Y-axis value of the bubble, or the > color > > of the bubble. > > > > Note that if your datatable currently has different data in the columns, > you > > can always create a new datatable and populate it correctly (say, using > for > > loops) from the original datatable. > > > > Hope this clarifies matters. > > If not, feel free to ask again. > > > > Regards, > > VizBoy. > > > > On Fri, Mar 13, 2009 at 5:00 AM, jeevankodali <[email protected] > >wrote: > > > > > > > > > Sorry for not being clear, let me try once more and see if this works. > > > I have this data set with me that I want to show in motion chart: > > > > > (1,1), (2,1), (3,1) > > > (1,2), (2,2), (3,2) > > > (1,3), (2,3), (3,3) > > > > > As you can see it looks like a 3X3 matrix points. x-axis values are 1, > > > 2, 3 and y-axis values are 1, 2, 3. If I plot this in motion chart, it > > > will show 1, 2, 3 in x-axis. But I want the Motion chart to > > > show 1, 2, 3, 4, 5, 6, 7, 8, 9 on x-axis. But my data set does not > > > have values > 3 for x-axis. How can I have motion chart show 1 - 9 on > > > x-axis without having data set in that range? > > > > > Thanks > > > > > On Mar 12, 7:49 am, VizBoy <[email protected]> wrote: > > > > Hi again, > > > > > > I'm sorry but I still cannot understand you. > > > > If the data set has 0's that you do not want, you can eliminate them > > > using > > > > javascript manipulations. > > > > If someone else understands better, feel free to contribute any > useful > > > > information. > > > > In general, the motionchart's documentation should be able to answer > your > > > > questions, up to javascript manipulations. > > > > > > Regards, > > > > VizBoy. > > > > > > On Thu, Mar 12, 2009 at 10:30 AM, jeevankodali < > [email protected] > > > >wrote: > > > > > > > Hi > > > > > > > Thanks for the reply. > > > > > I want the x and y-axis values to be constant which are predefined > by > > > > > me. THis will be the maximum possible range of my dataset and I > want > > > > > to display the data in it. This way I can have a bubble chart which > > > > > looks like a 3X3 grid but all the bubbles are only in the first > cell > > > > > of it. > > > > > > > Example, say the data set is (0,1), (0,2), (0,3), I want my x-axis > to > > > > > show 0, 1, 2, 3 as the values in the axis even though the data has > > > > > only "0" in it for the x-values. > > > > > > > On Mar 9, 12:48 pm, VizBoy <[email protected]> wrote: > > > > > > Hi, > > > > > > > > I didn't quite understand what you mean. > > > > > > The values in the data control the x-axis and y-axis values. > > > > > > What exactly do you need to control? > > > > > > > > - VizBoy. > > > > > > > > On Sat, Mar 7, 2009 at 1:44 AM, jeevankodali < > [email protected] > > > > > > > wrote: > > > > > > > > > Hi > > > > > > > > > I am trying to use motion chart with dynamic set of data. But > in > > > each > > > > > > > case I want to make sure that the grid is constant (a 3X3 > matrix > > > with > > > > > > > equal sizes) and then put the bubbles in it. Is there any way > to > > > fix > > > > > > > the x-axis and y-axis values? > > > > > > > > > Thanks > > > > > > > Jeevan- Hide quoted text - > > > > > > > > - Show quoted text -- Hide quoted text - > > > > > > - Show quoted text - > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-visualization-api?hl=en -~----------~----~----~----~------~----~------~--~---
