@woeperbe,
Changing text: $title to text:<?php $title ?> should work fine in your case.
If the issue still persists, kindly share sample project along with sample data over Google-Drive or Onedrive so that we can run it locally at our end to understand the scenario better and help you resolve.
—
Vishwas R
Team CanvasJS