KöMaL - Középiskolai Matematikai és Fizikai Lapok
 English
Információ
A lap
Pontverseny
Cikkek
Hírek
Fórum

Rendelje meg a KöMaL-t!

ELTE

VersenyVizsga portál

Kísérletek.hu

Matematika oktatási portál

I. 282. You can find many free (trial) Javascript solutions for displaying diagrams on web pages. Many of them contain a detailed help and documentation, so you can more easily build them into your programs. By using one of these, create a web page on which data can be entered and displayed graphically.

Data input should be done through the page urlap.html (``urlap'' means form). This should contain a 10×10 table of input cells. One should be able to write the data headers in the first row, the names of data series in the first column, and the diagram title (to be displayed later) into the first row of the first column. When using the form, the rest of the cells will contain integers. The data range of the table should be that part for which the header and data series names are non-empty. Empty cells in the data range selected this way should be given a 0 value. Below the table, radio buttons are present to choose from the possible diagram types: bar chart, pie chart or line diagram. In the final part, one should be able to select 1 out of the 5 possible color schemes, specifying the color of data points of the diagram to be created.

The bottom of urlap.html should contain a command button. When pressed, the page diagram.html should be loaded. This page should contain a diagram created from the data of the previous page. If the diagram type is a column or line diagram, then you should draw axes, the vertical axis should be properly scaled, and values of the data points should be displayed over them. If the diagram type is pie chart, then the data series names should be displayed together with the percentage of the given data point relative to the whole.

In a compressed file i282.zip you should submit the two HTML pages together with the necessary files for the operation, and a short documentation i282.txt containing the Javascript application's Internet address.

(10 points)

Deadline expired on 10 January 2012.


Google Translation (Sorry, the solution is published in Hungarian only.)

Mintamegoldásként Antal János Benjámin 12. osztályos nyíregyházi diák munkáját (ajb.zip) és Kucsma Levente István 9. évfolyamos egri tanuló megoldását (kli.zip) közöljük.


Statistics on problem I. 282.
5 students sent a solution.
10 points:Antal János Benjamin, Kucsma Levente István.
6 points:1 student.
5 points:2 students.


  • Problems in Information Technology of KöMaL, December 2011

  • Támogatóink:   Ericsson   Cognex   Emberi Erőforrás Támogatáskezelő   Emberi Erőforrások Minisztériuma   Nemzeti Tehetség Program    
    MTA Energiatudományi Kutatóközpont   MTA Wigner Fizikai Kutatóközpont     Nemzeti
Kulturális Alap   ELTE   Morgan Stanley