Title: Adding € to chart values
Last modified: June 23, 2022

---

# Adding € to chart values

 *  Resolved [adamharrispub](https://wordpress.org/support/users/adamharrispub/)
 * (@adamharrispub)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/adding-e-to-chart-values/)
 * Hi there,
 * Novice chart user here. I’m trying to add the euro symbol (€) in front of the
   values in a column chart. I’ve successfully added the symbol to the y axis (see
   code below). Is it possible to add it to the values that appear above the column?
 *     ```
       /**
        * Theme Name: euros
        */
   
       return array(
       	'yAxis' => array(
       		'labels' => array(
       			'format' => '€{value}',
       		),
       	),
       );
       ```
   
    -  This topic was modified 3 years, 11 months ago by [adamharrispub](https://wordpress.org/support/users/adamharrispub/).
    -  This topic was modified 3 years, 11 months ago by [adamharrispub](https://wordpress.org/support/users/adamharrispub/).

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [methnen](https://wordpress.org/support/users/methnen/)
 * (@methnen)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/adding-e-to-chart-values/#post-15765767)
 * It’s completely possible, how you do it depends on the charting library.
 * Highcharts has a prefix and suffix setting that you can use for this.
 * And the plugin will try to do it for you if the data has them in there.
 * With Chart.js its not as straightforward. I’ve made some move towards implementing
   something that would sort of replicate the Highcharts behavior but it hasn’t 
   made it into the release version yet.
 * My recommendation in the meantime is to label the relevant axis so it’s clear
   the Units or Currency involved in values.
 *  Thread Starter [adamharrispub](https://wordpress.org/support/users/adamharrispub/)
 * (@adamharrispub)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/adding-e-to-chart-values/#post-15784777)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding € to chart values’ is closed to new replies.

 * ![](https://ps.w.org/m-chart/assets/icon-256x256.png?rev=3472197)
 * [M Chart](https://wordpress.org/plugins/m-chart/)
 * [Support Threads](https://wordpress.org/support/plugin/m-chart/)
 * [Active Topics](https://wordpress.org/support/plugin/m-chart/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/m-chart/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/m-chart/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [adamharrispub](https://wordpress.org/support/users/adamharrispub/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/adding-e-to-chart-values/#post-15784777)
 * Status: resolved