Count Nouns - warwickfoster/qurantools GitHub Wiki
File: app/charts/chart_intertextual_links_per_source.php
Purpose
The provided code snippet creates a FusionCharts chart that displays the number of intertextual links per source.
Key Features
- Data Source The chart data is retrieved from the
INTERTEXTUAL SOURCESandINTERTEXTUAL LINKStables. - Sorting Users can sort the chart by source name or number of links.
- Chart Type Column 2D chart.
- Chart Options
- Caption: Empty string.
- Subcaption: Empty string.
- X-Axis Name: "Source"
- Y-Axis Name: "Number of Intertextual Links to Source"
- Theme: "fint"
- Show Values: Disabled
- Data Population
- The
SOURCE NAME,TC(total count), andVERSE REFERENCESfields are used to populate the chart data. - The
TCfield represents the number of intertextual links to each source. - Each data point is linked to the
verse_browser.phppage with the correspondingVERSE REFERENCES. - The data points are colored in a blue-gray shade.
- The
Usage
- The code can be integrated into an HTML page.
- The chart will be displayed within the
chartContainerelement. - Users can interact with the chart by clicking on the data points to navigate to the
verse_browser.phppage.
Additional Notes
- The
auth/auth.phpfile is included for authentication purposes. - The
library/standard_header.phpfile includes necessary CSS and JavaScript files. - The
library/print_control.phpandlibrary/footer.phpfiles provide printing and footer functionality.