Sign in to follow this  

Need Some Help About Links In Dragnode Chart

Recommended Posts

hi i'm new in Powercharts


i need some help about link in node


- i need to use javascript to show the menu that call from <div> tag look like this code style


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">


<html xmlns="">


<head runat="server">




<script type="text/javascript">


document.documentElement.onclick = tester;


function tester(ee) {


ee = window.event;


document.getElementById("MyDiv").style.left = ee.clientX;


document.getElementById("MyDiv") = ee.clientY;


document.getElementById("coord-x").value = ee.clientX + "";


document.getElementById("coord-y").value = ee.clientY + "";


document.getElementById("MyDiv").style.visibility = "visible";




function getcoords() {








<style type="text/css">





















border:1px solid;










<form id="form1" runat="server">




<input id="coord-x" type="text"/>


<input id="coord-y" type="text"/>


<a href="Javascript:getcoords();">Click here</a>




<div id="MyDiv" class="DivStyle">


<a href="generatelink()">View Information</a><br />


<a href="expand()">Expand This Node</a>










when i clicked on click here , it will show the menu that include in div tag called MyDiv at the clicked location. i have tested this code and it work properly but i can't implement it into powercharts. i need this method to finish my work


how can i implement this sample to my dragnode chart please help me

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this