BLHTML.org

BLHTML.org / Web Programming / BLHTML / BLHTML Manual / BLHTML funktion list / BLHTML funktion list /

 
  DIAGRAM 3102 0
#DIAGRAM# is an independent function
Rights to use this function #DIAGRAM#:
  • BASIC

  • #DIAGRAM# Shows ett diagram.
    modules/BLHmin.php

    Standard färger for diagramets staplar:
    color[+](FF0000 00FF00 0000FF 00FFFF FF00FF FFFF00 00CCCC 888888 004D98 CC6600 00984A)

    values:  defaults:  description:
    value$value[+] or $value array, Diagram value (noll litterad)
    info1 2 3...$array[+] or $value array, Stapel information (ett litterad)
    colorSätter unikt färg schema, standard color[+] array
    width90%Diagrammets totala page width
    text_width60The width on informations rutan
    border0Tjoklek on diagram staplar
    inkStandard färg on informations text
    paperEEEEEEBackground color on diagram
    showshow=% Shows resultat in procent, som standard show amount
    fat70%1 to 7 font size, tjocklek on diagram staplar
    size70%Font size on informations text
    format0Textformat on procent/amount information
    bit 0 Fet text
    bit 1 kursiv text
    bit 2 understruken text
    returnreturn=variable stores the results in $variable

    Example with data from vote:
    #COUNTCLICK id=90 click=Unlimited show=array return=dia#
    #$info[+](1 2 3 4 5 6 7 8 9 10)#
    dia[*]=#$dia[*]#<br><br>

    Diagram shows % and with standard färger on staplarna:<br>
    // Känner of if $dia and $info är arrayer and därfor ej nödvändigt to write $dia[+] and $info[+]
    #DIAGRAM value=$dia info=$info show=%#<br><br>

    All staplar har samma färg:<br>
    // Att använda value($dia[+]) info($info[+]) är only for att manuelt kunna skriva in data
    #DIAGRAM value($dia[+]) info($info[+]) paper=FFD5B4 color=CC6400 border=1#

    Returns:
    0 dia[*]=1 5 8 1

    Diagram shows % and with standard färger on staplarna:
    183%
     
    20% 
    30% 
    40% 
    50% 
    60% 
    70% 
    817%
     
    90% 
    100% 


    All staplar har samma färg:
    15
     
    20 
    30 
    40 
    50 
    60 
    70 
    81
     
    90 
    100 


    More information:
  • #COUNTCLICK#
  • vote
  • #UPLOAD#
  • #DOWNLOAD#
  • BLHTML forum  


    apache MySQL PHP No to software patents! BLHTML
    © 2003, 2010 BLHTML
    This page is created with BLHTML in 0.0677 seconds