After digging into the settings for various charts, I noticed 1 minor 
difference between a working version and a not working version. In 
wrapper.getDataTable().toJSON() I noticed, in the cols section a p:{} is 
missing from the columns.
So I call a getColumnProperties() for each column, that not only returns 
{}, but also sets the p attribute to {} for each column.
Here is a working version of the editor:
http://daviz.eionet.europa.eu/editor_demos/with_dataTable_working

On Tuesday, December 10, 2013 4:56:27 PM UTC+2, Zoltan Szabo wrote:
>
> Hi,
>
> I have an issue with the *ChartEditor* when the *ChartWrapper* uses a 
> *DataTable* and the initial chart type is *Table*. If I change the chart 
> type to another type, ex. *BarChart*, and I try to make some 
> customization on the *Customize* tab, after each modification, the 
> *Customize* tab is reloaded.
>
> I've set up 2 minimal pages to see the difference:
> http://daviz.eionet.europa.eu/editor_demos/with_dataSourceUrl
> http://daviz.eionet.europa.eu/editor_demos/with_dataTable
>
> On both pages, click the *Open Editor* button, select *BarChart*, go to 
> the *Customize* tab, scroll down to the *Axis*, select *Left vertical* from 
> the dropdown, in the *Title* field put some text, press tab. You will 
> notice that on the page where dataTable was used for the chart, the 
> *Customize* tab is reloaded and scrolled to the top, the value from the 
> *Axis* dropdown is changed back to the default *Horizontal*.
>
> I've tested this with visualization versions 1 and 1.1, they have the same 
> behaviour.
> This hasn't happened in the past, as I am able to replicate this only for 
> only a few weeks.
> I tested it in Chrome and Firefox on Ubuntu.
>
> Thanks,
> Zoltan
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to