GithubHelp home page GithubHelp logo

Comments (10)

pphod avatar pphod commented on May 21, 2024

This is an example how to create a chart based on the full spreadsheet.
http://www.bossanova.uk/jexcel/tracking-changes-on-the-spreadsheet
http://jsfiddle.net/zmtsbnng/

To can adapt the script to use only the selected cells, you can get all selected by using:
var td = $('#your-table-id').find('.highlight');

If you have problems on doing that, you can share your try on fiddle and I can suggest solutions.

Regards

from ce.

gulshan-escalon avatar gulshan-escalon commented on May 21, 2024

Thanks for your feedback But I need little bit different than you sent me. I have to manually select the rows or columns for x-axis and y-axis. For that I took input fields for selection. In first input fields i do selects cells for x-axis and in another input fields I again do select for y -axis then On the basis of both selection I have to make the data for x-axis and y-axis.

Any solution for that ?

Thanks

from ce.

pphod avatar pphod commented on May 21, 2024

Hi, to get the selected data as a JS array:

var data = $('#yourtable').jexcel('getData', true); // True get only the selected cells data
console.log(data);

from ce.

gulshan-escalon avatar gulshan-escalon commented on May 21, 2024

Hi , Thanks working on the same , Now I want to make the x-axis label dynemic on the basis of selection into excell sheet . Any solution form me would be apreciated. ??

from ce.

pphod avatar pphod commented on May 21, 2024

You have two methods to get information from jExcel.
$('#yourtable').jexcel('getData', true); // Get all selected data in an array
$('#yourtable').jexcel('getValue', 'B1'); // Get value from one specified cell A1, B2, C39, etc...

from ce.

gulshan-escalon avatar gulshan-escalon commented on May 21, 2024

yes , But How can i change the label into line charts according to the cells selection value. currently its ['jan','feb', ...so on] But I want to change it by the selection value , Any Idea ?

from ce.

gulshan-escalon avatar gulshan-escalon commented on May 21, 2024

I am getting the value from excell Now I need to reflect it to the line charts. Like If I choose three value for x-axis from excell sheet now I want those value as label of x-axis. What I am doing I made the restriction for the user to choose one column or one row at a time so I want those value in the x-axis and y-axis in the line charts. How can i achieve this ?

from ce.

pphod avatar pphod commented on May 21, 2024

Hi,
Well you can easily extract the information from the table, but now you should applied that to meet your requirements. All the best

from ce.

gulshan-escalon avatar gulshan-escalon commented on May 21, 2024

ok , Thanks Paul

from ce.

Harsh-baghel avatar Harsh-baghel commented on May 21, 2024

Hi Paul,

How can i get the particular row data corresponding to the header using jexcel v3 plugin.
Like my header are company name, website,email so i want data like this company name-Ideapoke Technology, website- www.ideapoke.com , email- [email protected] in the json format.
Is there any way to get data like this please suggest me any idea related to my query.

Thanks in advance

from ce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.