You ignored the second point I brought up. From the first clause:
where a first portion of the text query specifies the data to be retrieved and a second portion of the text query specifies a format for graphing the data
DBD::Chart fetches its data from an existing table, but the patent explicitly combines data query with output formatting.
If there's any ambiguity in that, it's cleared up in by the following: The choice of chart type is done "in accordance with a keyword in the second portion of the text query." DBD::Chart has neither such a keyword nor "a second portion of the text query".