mg-library 1.0.617 → 1.0.619
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/functions.js +0 -13
- package/package.json +1 -1
package/functions.js
CHANGED
|
@@ -351,19 +351,6 @@ export function getTimeForExposition(date) {
|
|
|
351
351
|
|
|
352
352
|
// Charts
|
|
353
353
|
|
|
354
|
-
export function getChartConfig(theme) {
|
|
355
|
-
return {
|
|
356
|
-
backgroundGradientFrom: theme['color-primary-100'],
|
|
357
|
-
backgroundGradientFromOpacity: 1,
|
|
358
|
-
backgroundGradientTo: theme['color-primary-100'],
|
|
359
|
-
backgroundGradientToOpacity: 1,
|
|
360
|
-
color: () => theme['color-primary-500'],
|
|
361
|
-
strokeWidth: 3,
|
|
362
|
-
barPercentage: 0.5,
|
|
363
|
-
decimalPlaces: 0
|
|
364
|
-
};
|
|
365
|
-
}
|
|
366
|
-
|
|
367
354
|
export function getWidthForCharts() {
|
|
368
355
|
return Dimensions.get('window').width * 0.90;
|
|
369
356
|
}
|