Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Style cursor pointer en pie chart
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
james0928  
View profile  
 More options Nov 16 2012, 8:43 am
From: james0928 <hector.jai...@elportal.com.co>
Date: Fri, 16 Nov 2012 05:43:45 -0800 (PST)
Local: Fri, Nov 16 2012 8:43 am
Subject: Re: Style cursor pointer en pie chart

Gracias por responder.

No se que estoy haciendo mal pero no me esta funcionando, aqui dejo el
codigo para ver si me puedes orientar.

css
.path_bar svg > g:nth-of-type(2) > g:nth-of-type(1) > g:nth-of-type(2) > g
    {
           cursor: pointer
    }

contenedor
<div class="path_bar" id="Chart_divAdministracion"></div>

javascript
<script type="text/javascript">
/*********************************************GENERAMOS LA
GRAFICA******************************************************/

    drawChartR();

    function drawChartR() {

        // Create the data table.
        var data = new google.visualization.DataTable();
        data.addColumn('string', 'Mes');
        data.addColumn('number', 'Ingresos');
        data.addRows([

                ['Enero',50000000],
                ['Febrero',40000000],

                ]);

        // Set chart options
        var options = {'title':'Ingresos Admin. Enero y febrero $90000000',
                       'width':400,
                       'height':300,
                       'min':0};

        var chartR = new
google.visualization.ColumnChart(document.getElementById('Chart_divAdminist racion'));

        chartR.draw(data, options);
      }
/*****************************************FIN
GRAFICA*****************************************************************/
</script>

lo esoty porbando en mozilla

El jueves, 15 de noviembre de 2012 19:09:18 UTC-5, asgallant escribió:

> Here's the version for BarCharts: http://jsfiddle.net/asgallant/euWwe/

> On Thursday, November 15, 2012 5:59:58 PM UTC-5, james0928 wrote:

>> perdon por agradecer tan tarde, me fue de mucha ayuda, pero no funciona
>> para graficas de barras si me pudiera orientar tambien para las de barras
>> se lo agradezco muchisimo.

>> El miércoles, 29 de agosto de 2012 10:58:49 UTC-5, asgallant escribió:

>>> You need to take a two-pronged approach to fix the problem.  You can use
>>> pure CSS to do this in Firefox, Chrome, Safari, Opera, and IE 9.  In IE 8
>>> and earlier, you need to modify the CSS inside the iFrame used by the
>>> chart.  I wrote an example here: http://jsfiddle.net/asgallant/W3Pss/

>>> The example uses the jQuery library to help with browser detection and
>>> accessing the iFrame's contents.

>>> On Tuesday, August 28, 2012 6:46:23 PM UTC-4, james0928 wrote:

>>>> Hola, estoy generando una grafica de torta(pie chart), para mostrar
>>>> ciertos valores, los cuales quisiera que al pasar el mouse por encima de
>>>> cada porcion de la grafica el cursor se convierta en mano, ya que al dar
>>>> click sobre cada porcion me lleva a una pagina que le asigne. intente con
>>>> char_div.style.cursor:"hand", pero no funciono agradesco cualquier aporte


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.