pinkfoyd

How to draw nice graph / charts

4 posts in this topic

#1 ·  Posted (edited)

Hi all,

 

For my work, i need to produce automatically chart that i will include in my morning email.

 

First I tried the graph function of powershell with Microsoft Chart Controls , very nice looking, with help of this script : https://gallery.technet.microsoft.com/Drawing-charts-with-6ab5de4e#content

BUT is useless as i can't sort data in graph ( object array is ***** in powershell, order is random )

 

So trying back with autoit.

After lot of forum research :

 

  • RMChart : not working
  • Another script not working, or working but only in autoit GUI ( or can't find the good topic )
  • Chart.udf : nice but not in GDI so can't produce image
  • ImageMagick : possible but very hard to code the entire line

can't use excel, because can't install it on the production server.

 

 

In a perfect world i would produce this :

6.png

 

But simplest will be fine too :

1.png

 

 

Do you know an another solution, any help would be greatly appreciated.

Edited by pinkfoyd

Share this post


Link to post
Share on other sites



N.B. The Wiki is a great source for such functions. Please check the UDF page.


My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2017-04-18 - Version 1.4.8.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX (NEW 2017-02-27 - Version 1.3.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2015-04-01 - Version 0.4.0.0) - Download - General Help & Support - Example Scripts
Excel - Example Scripts - Wiki
Word - Wiki
PowerPoint (2015-06-06 - Version 0.0.5.0) - Download - General Help & Support

Tutorials:
ADO - Wiki

 

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

  • Similar Content

    • water
      By water
      Extensive library to control and manipulate Microsoft Excel charts.
      Written by GreenCan and water.
      Theads: General Help & Support - Example Scripts
      BTW: If you like this UDF please click the "I like this" button. This tells me where to next put my development effort

      KNOWN BUGS (last changed: 2017-07-21)
      None. The COM error handling related bugs have been fixed.
       
    • LoneWolf_2106
      By LoneWolf_2106
      Hi everybody,
      i have a question about Excel, i have to create several charts one below the other dynamically.
      I have thought to use:
       
      $oRangeLast = .UsedRange.SpecialCells($xlCellTypeLastCell) $iRowCount = .Range(.Cells(1, 1), .Cells($oRangeLast.Row, $oRangeLast.Column)).Rows.Count  
      And then to use it in this way:
      $Graph_position = "=Test1!A"&$iRowCount+2&":K"&$iRowCount+24 But it doesn't work with charts.
      Does anyone have a suggestion?
       
    • Kanashius
      By Kanashius
      This UDF can be used to Display bar charts in a window. I hope you can need it.
      Exampleimage:
      If you like it, please leave me a comment, also if you have any suggestions to make it better or if you found bugs.
      Chart_UDF_source.zip
    • wakillon
      By wakillon
      Would you Listen Last 100 Uk Top Charts singles like a JukeBox or Radio in random order and without advertising ?

      It's possible by getting charts List on charts website http://creativedisc.com/category/top-charts/uk-top-100-singles/ updated weekly
      and searching songs list on youtube.




      Changelog 1.0.6.1
      Script completly rewrited.
      All externals fils are includes.
      New youtube search engine improved for listen the good song !
      Blacklist Management improved.
      Video can be visible.
      Now flashplayer sound is muted while Ads.
      User clicks on flashplayer progress bar are now detected for the detection of the end of the song.
      New Buttons.
      Changelog 1.0.6.2
      Adapted to new AutoIt Version and Youtube changes.
      Hope you like it ! 
      Previous downloads : 500

      source : TinyChartsJukebox v1.0.6.2.au3.html
      executable :  TinyChartsJukebox.exe.html
      (Once the html file is downloaded, double click on it for start the download)
    • water
      By water
      In this thread you will find some useful scripts based on the ExcelChart UDF (for download please see my signature).