Before this module moves to beta, I'd like most of the code documentation issues as shown in https://pareview.sh/node/1430 to be fixed.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

andileco created an issue. See original summary.

andileco’s picture

Category: Support request » Task
andileco’s picture

Issue tags: +DrupalGovCon
lbaran’s picture

FileSize
86.4 KB

Hi andileco,

I have a first patch to fix this issue.

Sincerely,

  • andileco committed e1d1f83 on 8.x-3.x
    Issue #2879533 by lbaran: Improve Charts code documentation
    
andileco’s picture

OK, please test!

andileco’s picture

Status: Active » Postponed

Actually, please wait to continue this one. I want to commit another issue before continuing on this issue: https://www.drupal.org/project/charts/issues/2928419

andileco’s picture

mwebaze’s picture

Hi @andilco and Ibaran,

is this patch(es) part of the 8.x-3.x branch?

Regards,

Michael

andileco’s picture

Yes, it was committed to 8.x-3.x-dev

andileco’s picture

Status: Postponed » Active

OK, active again!

lbaran’s picture

FileSize
91.71 KB

Hi andileco,

I have a new patch and I still continue to correct the issue.

Sincerely,

  • andileco committed 350cdc2 on 8.x-3.x
    Issue #2879533 by lbaran: Improve Charts code documentation
    
andileco’s picture

Thank you! Patch 12 was committed.

lbaran’s picture

FileSize
69.1 KB

Hi andileco,

I have a new patch and I think it will be the penultimate patch.

Regards,

andileco’s picture

Hi @lbaran, this patch introduces an issue with Google Charts:

Error: Class 'Drupal\charts_google\Plugin\chart\VerticalAxis' not found in Drupal\charts_google\Plugin\chart\GoogleCharts->createChartsOptions() (line 97 of /app/modules/contrib/charts/modules/charts_google/src/Plugin/chart/GoogleCharts.php) #0 /app/modules/contrib/charts/modules/charts_google/src/Plugin/chart/GoogleCharts.php(67): Drupal\charts_google\Plugin\chart\GoogleCharts->createChartsOptions(Array, Array, Array) #1 /app/modules/contrib/charts/charts.module(107): Drupal\charts_google\Plugin\chart\GoogleCharts->buildVariables(Array, Array, Array, Array, Array, 'money_awarded_i...')

It's related to the two axis classes being combined into one (if you combine into one, please name it ChartAxes instead of ChartAxis, since it includes both X and Y).

Thanks!

lbaran’s picture

FileSize
81.13 KB

Sorry andileco,

I corrected ChartAxis in ChartAxes.

  • andileco committed 5a0e507 on 8.x-3.x
    Issue #2879533 by lbaran: Improve Charts code documentation
    
andileco’s picture

Made an edit to line 97 and committed.

lbaran’s picture

Thanks andileco.

lbaran’s picture

FileSize
13.53 KB

Hi andileco,

I have a new patch.

Regards,

  • andileco committed 78d6fcf on 8.x-3.x
    Issue #2879533 by lbaran: Improve Charts code documentation
    
andileco’s picture

OK, committed.

lbaran’s picture

FileSize
11.73 KB

Hi andileco,

I have a new patch.
As the website https://pareview.sh/ does not work, I will continue with the Coder project.

Regards,

lbaran’s picture

lbaran’s picture

FileSize
20.69 KB

Patch #26 should be used instead of 24.

  • andileco committed a2b396d on 8.x-3.x authored by lbaran
    Issue #2879533 by lbaran, andileco: Improve Charts code documentation
    
andileco’s picture

Took out the composer.lock files, otherwise, committed.

lbaran’s picture

FileSize
15.82 KB

Its good. I deleted the "composer.lock" files in the new patch.

andileco’s picture

Status: Active » Closed (outdated)