@dhiraj0720/report1chart 2.7.3 → 2.7.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhiraj0720/report1chart",
3
- "version": "2.7.3",
3
+ "version": "2.7.5",
4
4
  "main": "src/index.jsx",
5
5
  "scripts": {
6
6
  "test": "echo 'No tests'"
@@ -72,7 +72,7 @@ const SvgBarLineChartCompact3A = ({ data }) => {
72
72
  fill="white"
73
73
  fontWeight="700"
74
74
  >
75
- {formatNumber(val2024)}M
75
+ {formatNumber(val2024)}
76
76
  </SvgText>
77
77
  )}
78
78
 
@@ -85,9 +85,10 @@ const SvgBarLineChartCompact3A = ({ data }) => {
85
85
  fontSize="10"
86
86
  textAnchor="middle"
87
87
  fill="white"
88
+ transform="rotate(-90 40 160)"
88
89
  fontWeight="700"
89
90
  >
90
- {formatNumber(val2025)}M
91
+ {formatNumber(val2025)}
91
92
  </SvgText>
92
93
  )}
93
94
 
@@ -104,8 +105,8 @@ const SvgBarLineChartCompact3A = ({ data }) => {
104
105
  />
105
106
  )}
106
107
  <Circle cx={centerX} cy={y(budget)} r={6} fill="#8AB6E8" stroke="#fff" strokeWidth={2} />
107
- <SvgText x={centerX} y={y(budget) - 12} fontSize="11" textAnchor="middle" fill="#333" fontWeight="700">
108
- {formatNumber(budget)}M
108
+ <SvgText x={centerX} y={y(budget) - 12} fontSize="11" textAnchor="middle" fill="#333" fontWeight="700">
109
+ {formatNumber(budget)}
109
110
  </SvgText>
110
111
 
111
112
  {/* X Label */}
@@ -1,5 +1,5 @@
1
1
  import React, { useEffect, useState } from 'react';
2
- import { ScrollView, Text, TouchableOpacity, View } from 'react-native';
2
+ import { ScrollView, Text, TouchableOpacity, View, StyleSheet } from 'react-native';
3
3
  import fetchReport1 from '../api/report1Fetcher';
4
4
  import FrozenTableReport1A from '../components/FrozenTableReport1A';
5
5
  import Report1Card from '../components/Report1Card';