The Map visualization does not have a #clearChart method, which is why it
doesn't work. If you are not creating any event handlers on the Map, you
can clear the contents of the Map's container from the DOM. It isn't a
perfect solution, but I don't think you will run into too many problems
Hi,
this is bad.. and how should i reactif no data point is available what
should i return back that i become no error? or what is the best method to
delete the Map chart ? the clearChart function did not work there!
Am Donnerstag, 4. September 2014 00:59:17 UTC+2 schrieb Andrew Gallant:
Ahh, I see. The Map visualization expects at least one data point, and
there is no way to override that behavior.
On Monday, September 1, 2014 12:00:49 PM UTC-4, cyb wrote:
Hi,
ok i have created a simple example in jsfiddle and there is the same
error(i use chrome as browser):
This error
Can you create a simplified example that demonstrate this behavior so I can
test it?
On Sunday, August 31, 2014 5:36:38 PM UTC-4, cyb wrote:
Hi,
ok i have found another problem.. i use the Map Chart with a
chartWrapper and i build a filtered view like this(I use the latitude
longitude
Hi,
ok i have created a simple example in jsfiddle and there is the same
error(i use chrome as browser):
This error appears only if the rows[] array is empty for example if the
getFilteredRows() method finds nothing..
http://jsfiddle.net/cyb2k/z8s8t1tb/10/
you must open the console and wait
Hi,
ok i have found another problem.. i use the Map Chart with a
chartWrapper and i build a filtered view like this(I use the latitude
longitude mode):
var filteredView ={columns : [0,1,2], rows :
dataTable.getFilteredRows([{column: 2, minValue: 100, maxValue: null}])};
so for example the
Hi,
ok i have fixed the problem, i did transform Column 3 in a String and add a
tooltip directliy in my view like this:
var toolTip=[
{
type: 'string',
role: 'tooltip',