As per the configuration options (http://code.google.com/apis/ visualization/documentation/gallery/ linechart.html#Configuration_Options) setting the logScale option to the *boolean* value true will make the *main axis* scaled logarithmically. For starters, don't pass a string value. From the information on the LineChart documentation page, there is no way to make the other axis log-scaled.
It does seem like Google uses non-standard terms in their visualizations, like "main axis" - this is ambiguous and should just be replaced with "vertical/horizonal" or "x/y" (at least, for 2D graphs). On Oct 5, 5:45 pm, Suresh <[email protected]> wrote: > Hi > I noticed that for Line chart the X-Axis is being taken as a String > and cannot be applied with Logarithmic values.I tried the below option > and it is only working for Y-Axis. > Do you have any idea how i can make the Logarithmic axis for both X > and Y-Axis.Appreciate your immediate help. > > chart.draw(data, {width: 400, height: 240, legend: 'bottom', > title: 'Company Performance',logScale:'true'}); > > Thanks > Suresh > > On Oct 5, 12:27 pm, Suresh <[email protected]> wrote: > > > Hi, > > I am trying to use the below options such as > > logScaleX=true,logScaleY:'true' to make the line chart with log axis > > for both x-axis and y-axis.But i dont see the difference between > > linear and log.Is there any thing i am missing in my options.Could you > > help. > > > chart.draw(data, {width: 1300, height: 820, legend: 'bottom', > > title: " Line Chart",titleX:'X-Axis (Log)',titleY:'Y-Axis > > (Log)',logScaleX:'true',logScaleY:'true'}); > > > Thanks > > Suresh > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
