Count Nouns - warwickfoster/qurantools GitHub Wiki
app/charts/chart_intertextual_links_per_source.php
File: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 SOURCES
andINTERTEXTUAL LINKS
tables. - 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 REFERENCES
fields are used to populate the chart data. - The
TC
field represents the number of intertextual links to each source. - Each data point is linked to the
verse_browser.php
page 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
chartContainer
element. - Users can interact with the chart by clicking on the data points to navigate to the
verse_browser.php
page.
Additional Notes
- The
auth/auth.php
file is included for authentication purposes. - The
library/standard_header.php
file includes necessary CSS and JavaScript files. - The
library/print_control.php
andlibrary/footer.php
files provide printing and footer functionality.