Hello
| Heure | Temp.bas cuve | Temp.milieu cuve (°C) | Temp.haut cuve (°C) |
| 10:42:46 | 21.4 | 21.2 | 21.9 |
| 10:43:46 | 21.4 | 21.5 | 21.8 |
| 10:44:46 | 21.3 | 21.3 | 22 |
| 10:45:46 | 21.5 | 21.4 | 21.8 |
| 10:46:46 | 21.8 | 21.6 | 22.1 |
| 10:47:46 | 22.2 | 21.8 | 22.4 |
| 10:48:46 | 22.5 | 22.3 | 22.7 |
| 10:49:46 | 22.9 | 22.5 | 22.9 |
So i load csv value inside an data object with the same structure. it doesn't work if i keep the time values for horizontal axis . If i quit this first column, it works fine but with the numero of row on horizontal axis
How do i do ,to have time on horizontal axis ?
Thanks for advance
|
chart.PrimaryCategoryAxis.CategoryType = OfficeCategoryType.Automatic; chart.PrimaryCategoryAxis.NumberFormat = "hh:mm:ss AM/PM"; |
Hi Manikandan
Thanks for your fast answer . Il tried your example and it compile and run without problem . (I just have change Net.Framework from 4.61 to 4.8) But , like my application , i get an error when i try to open the word file . (see capture.jpg )
word says it can't open the file :
*check authorization for file/disk
*Check memory and disk space are enough
*open file with the converter "recuperation text"
I use "MsOffice apps for business" and word version is 2111 build 14701.20262 Office
Attachment: Capture_a97caa5b.zip
Best regards
Hi,
The sample you give me , when running, generate Word corrupted file . I can open word file with google docs but on horizontal axis all the value are time format but with 00:00:00 value .
Hi,
Somethings strange :
I have made test to convert word to PDF with syncfusion libraries ans it works without problem : pdf file has right format for X axis with correct values !!
but I can't still open word file !
Hi Manikandan,
I send you the VS solution.
In the \bin \debug\ directory , you can find sample.docx which is corrupted and sample.pdf generated by program from sample.docx .
Best regards
Hi Manikandan,
I was able to open word file you sent to me without problem .
In my project , i don't use cultural information and my project use "neutral language" définition .
here , config file of exe program
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1" />
</startup>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Syncfusion.Pdf.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-17.4460.0.39" newVersion="17.4460.0.39" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Syncfusion.XlsIO.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-17.4460.0.39" newVersion="17.4460.0.39" />
</dependentAssembly>
</assemblyBinding>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="Syncfusion.Compression.Base" publicKeyToken="3d67ed1f87d44c89" culture="neutral" />
<bindingRedirect oldVersion="0.0.0.0-17.4460.0.39" newVersion="17.4460.0.39" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>
and in zip file, properties of exe
I live in France, so Windows and others (VS2017 for example) are configurated for french people , often by the way " like OS language".
Thanks o lot for you help
Hi Manikandan,
I have updated syncfusion libraries to latest version and yes, now i can open word file generated . you have solved my problem !!
One more time , thanks a lot for your help !!