Programming :: Generate Excel Charts From C?

Feb 24, 2011

Does anybody know how to generate excel charts from C, or if it's possible at all?

For example, if I had 2 arrays that I wanted to export to excel and graph against each other. I know how to export it to a csv file, that's no problem, but I have no idea where to start with generating a graph of the data. I can't seem to find any examples anywhere.

I'd appreciate if someone could point me in the right direction.

Just a simple example to show you what I mean code...

View 10 Replies


ADVERTISEMENT

Programming :: Generating Excel Charts From C?

Feb 24, 2011

how to generate excel charts from C, or if it's possible at all? For example, if I had 2 arrays that I wanted to export to excel and graph against each other. I know how to export it to a csv file, that's no problem, but I have no idea where to start with generating a graph of the data. I can't seem to find any examples anywhere. Just a simple example to show you what I mean: Code:

char arr1[] = {'a','b','c'};
int arr2[] = {10,20,30};
int main ()

[code]....

View 5 Replies View Related

Programming :: Add Charts And Diagrams In My Apps?

Oct 24, 2010

I want to have a panel like the panels which exist in Gnome Desktop in my application to add menus, labels, entries, buttons and etc. How can i Do this?
How can I add charts and diagrams in my applications?

View 1 Replies View Related

Programming :: Use Pipe In Excel Function?

Apr 13, 2010

In shell, I execute "./ffmpeg -f h264 - | xxx"

Now I hope use execl function to execute above operations,

I call execl("/bin/sh", "sh", "-c", "./ffmpeg -f h264 - | xxx");

but ffmpeg doesn't work, it seems that "|" pipe don't work.

how could I solve this?

View 1 Replies View Related

Programming :: Can't Write Header To Excel File?

Jan 15, 2010

I am having trouble getting some code to work. It takes an input file (csv) and converts it to an XLS. The problem is that I can't seem to get a header to be printed first...

Code:
use Spreadsheet::WriteExcel;
my $input = $ARGV[0];

[code]...

View 5 Replies View Related

Programming :: Making Existing MS Excel App Web Based

Jun 7, 2010

I have a LAMP based web hosting account (BlueHost). I have an existing simple MS Excel application which I would like to make it web based. However I am not sure what tools or features of PHP are out there that will aid me with this task. Here are some details:

1. I don't want to create an entire Excel program online. For that there are plenty of existing applications like Google Docs, MS's own online version of Excel, etc.
2. My current excel file uses some of the following excel functions:
a) SUM
b) Product Sum
c) Conditional Formatting (like changing font color if an amount is below a threshold, etc.)
d) Sorting (Date, Amount)
e) Drop Down Box to select pre-defined values

3. Ability to add/delete/modify a entry (row)
4. I don't care whether the application has the same look-n-feel as MS Excel.

As you can see it is a very simple home grown excel application with few basic mathematical functions. Here are some few thoughts that I have currently in my mind:

i) Just start coding intuitively as you would develop a normal web based application.
ii) Do (i) but use some of the PHP's excel oriented helper functions (COMs?) if there are any
iii) Use completely a different set of tools permitting that they run on LAMP environment.

I could have started with (i) but before making a costly mistake I thought I would get some opinion from the community to see if this is the right approach.

View 1 Replies View Related

Programming :: Process Ms Excel Files On Machine?

Mar 2, 2010

Are there any solutions by which linux-based web server frameworks (like zend or any other) can process data inside microsoft excel spreadsheets (*.xls)?

View 1 Replies View Related

Programming :: C Program For Fetching Data From Excel Sheet?

Jan 31, 2011

i am using linux for the first time. i have been given a project which will fetch data from csd(comma separated form) and ll display on d screen. i want a c program for linux which ll do the above given task. moreover i want the parameter file(such as location of file, file name,etc..) as a different file. so that i can access this program on any computer.

View 3 Replies View Related

Programming :: VBA / Excel - Looping Through Image Controls Based On Cell Contents?

Jun 28, 2011

I have an Excel Spreadsheet which reports upon weekly performance. One portion of the worksheet looks at week over week increases /decreases. I've placed a number of image controls (15 in Total) next to cells which calculate week over week change. The image controls simply display an image depending on whether the value of the adjacent cell is positive or negative. So, here is my basic working IF statement:

Code:

Private Sub Worksheet_Change(ByVal UpDown As Range)
If Range("J26") > 0 And IsNumeric(Range("J26").Value) Then
Image1.Picture = LoadPicture("C:path oup_arrow.gif")
ElseIf Range("J26") < 0 And IsNumeric(Range("J26").Value) Then

[code]....

As you can see, this is pretty simple. What I'd like to do is find a way to loop through all 15 controls and avoid having 15 IF statements run on the Worksheet_Change() event. The cells containing the week over week values are all in the same column, but not continuous. Involved cells are: ("J26", "J27", "J33", "J34", "J35", "J36", "J37", "J38", "J39", "J40", "J42", "J43", "J44", "J45", "J46")

View 6 Replies View Related

Programming :: Open Source Solution To Convert Pdf File To Excel Document?

Mar 2, 2011

Looking for an open source solution to convert pdf file to excel document.

View 1 Replies View Related

Programming :: How To Generate MD5 / Sha-1 With Perl

Mar 31, 2010

How can I generate a md5 or sha-1 code with perl?

View 2 Replies View Related

Debian Programming :: Generate SQL Result Into XML

Dec 2, 2014

How do I generate sql result into xml ? Tried this way (shown below), but it generates all data into single column.

Code: Select allgenerate_xml()
{
        f1=_tmp1
        f2=_tmp2
        cat $SQL_QUERY_OUT |sed -e 's/^"//g;s/"$//g;s/","/|/g'|tr '|' ' ' > $f1
        [ -e $SQL_QUERY_OUT ] && rm $SQL_QUERY_OUT

[code]....

View 2 Replies View Related

Programming :: Script To Generate Vouchers?

Jun 24, 2010

I have a file, two columns, first column has a list of 15000 (yes 15k) unique codes, second column has the afilliate codes of 60 locations repeated to fill out the 15000 rows of unique codes. I need to produce a nice neat paper voucher which will fit onto A6 (1/4 A4) and is ready to print. Each voucher has the unique code and corresponding location. So far I am thinking PHP will do the job. This does it somewhat, but doesn't let be split the fields between the ",". I did this so far in PHP

[Code]...

View 3 Replies View Related

Programming :: Generate Pdf In Thai Language?

May 19, 2009

I am trying to generate pdf in thai language. i have installed thai package (extension in babel package). It is finally generating pdf in thai. but thai string are cming very long as compared to original string given in .tex file.

View 3 Replies View Related

Programming :: Using /dev/random To Generate Double?

Mar 6, 2010

I need to generate random numbers using /dev/random in C. The numbers should be of type double (64-bit floating point).The functionality should be equal to linux command "od -An -N8 -t fD /dev/random", but written in C.The prototype should be "double drand(void);".

View 7 Replies View Related

Programming :: Script To Generate Random Dates?

Aug 3, 2010

A script to generate random dates. It uses the year range 2006-2009, and truncates every month of the year to an ordinary February's 28 days, but otherwise it's pretty solid and safe.

Code:
spate=1
while [ $spate -le 120 ]

[code]....

View 1 Replies View Related

Programming :: Running Some Script To Generate Below Values?

Mar 24, 2011

We are running some script to generate below values however we don't need the first level output as it always shows cpu % as 0.0.

(We dont need following part:
NAME STATE CPU(sec) CPU(%)
XXX -----r 55567 0.0

[code]....

View 10 Replies View Related

Programming :: Script To Generate SSH Banner MOTD?

Apr 18, 2010

I want to automate my System-installation. So i try to make a Script that will generate the /etc/motd. Now i have the Problem that the script has some variables and after the "Hostname, OS, HW, IP" the "stars" are anyware, but not there they should. The most problem is the $OS this string can verry long or verry short be. Fedora release 12 (Constantine) or RedHat 5.4 i can do that after the variables place the "stars" on the write position?

Script
Code:
#!/bin/bash

[code]....

View 6 Replies View Related

Programming :: Tool To Generate Class Diagrams?

Sep 7, 2010

I have some c++ code and want to generate class diagrams using some tool which would scan the c++ code and generate diagrams. Is there any such open source tool to be used on linux machine?

View 1 Replies View Related

Debian Programming :: GCC Can't Generate 64 Bit Program On Wheezy Mips64?

Dec 21, 2014

I have both 32 bit and 64 bit libs installed with gcc multilib.

I tried following options, but the result is still a 32bit elf:

# cc -mips64 -mabi=o64 -mlong64 -mgp64 -c gendian.c
# file gendian.o
gendian.o: ELF 32-bit LSB relocatable, MIPS, MIPS64 version 1 (SYSV), with unknown capability 0xf41 = 0x756e6700, with unknown capability 0x70100 = 0x1040000, not stripped

The machine is running 64 bit os:

# uname -a
Linux debian 3.2.0-4-5kc-malta #1 Debian 3.2.63-2+deb7u2 mips64 GNU/Linux

Both 4.6 and 4.7 gcc have been tried, and both have the same issue.

Fixed: need -mabi=64

View 0 Replies View Related

Programming :: Write A Program In C Which Will Generate A Maze Randomly ?

Oct 8, 2010

I want to write a program in C which will generate a maze randomly and find the solution for it ..

The idea behind is in [url]

How the 16 bit integer is stored in a variable..Earlier I wrote a program on trees and displayed it using dotty.. Is there any such tool to display a maze..I am using ubuntu 10.04.

View 1 Replies View Related

Programming :: Generate Alphanumeric Characterlist - No Repeating More Then 3 Times?

Apr 5, 2011

i have spotted that script (something similar that i am looking for)

[URL]

and i just dont know how to use it.I am not a programmer myself and probably no need for learning that just to create one script! modify "wje_lq" script and run it. thing like : "Just redirect standard output to a file in the normal manner" ? and all this

I.Comment out the first definition of *character-set*, by adding a semicon at the beginning of the line.

II.Uncomment the second definition, which just uses "ABC", by removing the semicolon from the beginning of the line.

III.Comment out the first definition of *word-length*.

IV.Uncomment the second definition, which uses a word length of four.

i would like to generate :

10-character combinations of the following characters (lowercase) 23456789abcdef with no more then 3 same letters repeates no metter side by side or within one line (sequence) so lets say

abcdef1234 accept
fabcde1234 accept
ffabcd1234 accept

which is probably permutation with repetable string ( where abc is not equeal to cba etc .so ti speak position does metter)

fffabc1234 not acceptable -----(3 same characters)
ffabcf1234 not acceptable -----( 3 same characters event thought not side by side)

we dont want 3 same characters apper in same line.

View 2 Replies View Related

Programming :: Reading Lines To An Array And Generate Dynamic Zenity List?

May 18, 2011

explanation what I want to do exactly:I have a textfile which looks for instance like this:

file.txt:
...
something=else to do

[code]....

View 14 Replies View Related

Ubuntu :: Office Software - Superscripts In Charts?

Jun 17, 2011

In the fall when I return to my full time studies in university, I would like it very much to use Ubuntu as my operating system on my main work computer, since it runs clean, fast, and stable.

However, the only thing that would stop me from doing this is some good office software. OpenOffice, Libreoffice, Koffice, etc all look nice, however I can't find a way in any of them to generate a chart with superscripted text on an axis title. I've even tried microsoft office web apps and google docs. If anyone knows a solution to my problem that would be amazing

View 6 Replies View Related

General :: Developing Drill Charts Using PHP With MySQL

Aug 12, 2010

I have been assigned with a project to develop a 3D chart based on the data available in database of mySQL. The chart should be a drill chart which should give further more details of the area where we click on the chart.I tried for a long time to get some information regarding that. But i couldn't find anything relevant.

I would be much thankful if any one would help me in this issue.Please provide me with some links or any suggested books that would help me.

View 1 Replies View Related

Ubuntu :: Open Office Writer - Page Moves Around When Working With Graphics / Charts?

Mar 16, 2010

I am using OO 3.1 on Karmic 9.10. When working with Open Office Writer and either graphics or charts, a couple of things happen. First of all, the page position moves around. For example, if I click on a graphic I have inserted or on a chart, the page on my screen may shift up or down by a half inch or so. If I click back out in a text area, the page moves back to where it was. This is very annoying. Has anyone else had a problem like this? I have tried turning off compiz completely but it doesn't fix it

View 1 Replies View Related

Software :: Change Network Charts Unit Of Measure In Gkrellm From Bytes / Sec To Bits / Sec?

Feb 10, 2011

Does anyone know of a way to change the network charts unit of measure in Gkrellm from bytes/sec to bits/sec? I'm not finding any method to do so in the config options.

View 1 Replies View Related

Programming :: Create File Listing In C++ That Will Generate Line Number On Every Line Of Code

Apr 11, 2010

I have a project due for my Intro to C++ class and we are suppose to generate a file listing that will take an input of a C++ source code with .cpp extension and make a copy of it with a .lst extention that will have a line number preceding each and every line.

View 12 Replies View Related

Programming :: Parsing Xml File Using Shell Script And Generate Report In A PDF File?

Jul 9, 2009

parsing xml file using shell script and generate report in a PDF file

Xml file input:

<report>
<student name="x" father name="x1" class="first" Address="xyz">
<property name="sports" value="yes"/>
<property name="drawing" value="no"/>

[code]....

View 12 Replies View Related

Programming :: Using "dialog " To Generate Menu Base On Dir Contents

Oct 20, 2010

I'm just messing around trying to create a script that will give me a menu driven method of selecting a file from a directory. After doing some searching around on the web, I found that the "dialog" command might be able to provide what I need, but I'm not sure exactly if what I want is possible.

I was messing around with the --menu option and am getting pretty close, but not exactly what I want. Here's a snip of what I've been working with:

Code:

This gets me the results I want for the first option in the list, but the rest comes out a bit weird, as it's taking the directory contents and applying to the "tag" field as well. In fact, if there wasn't a need for the tag field, it would probably be working exactly as I want it to.

I plan on messing around a bit more to see if there is a workaround, but figured I'd post this just in case someone else had accomplished something similar. Essentially, this will be embedded in a script where each file in my $DIR variable will show in the menu and the selected file will end up in a variable for later use.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved