Creating a file import plugin, need to set number format
Posted: Tue Mar 05, 2013 12:15 pm
Hi, i'm creating a DPlot plugin to import a custom file format that is generated by another program i wrote. This program takes data from electrical meters that monitor amps and voltage over a period of time.
Basically, i need to generate a line graph that uses the Y axis as the voltage and amp values, and the X axis represents a period of time. I've read over the help file in DPlot regarding developing plugins as well as the plugin examples and the DPlot.h header file, however i haven't found anything that suggests i can set the number format for the X axis.
I did see that in the DPlot help file, it shows an lpszCommands string for the DPLOT structure, but i could not find that in the DPlot.h header file (which supports up to version 4).
Am i missing something here? DPlot is a great solution for what i need, but i have to be able to represent dates and times along the X axis.
Basically, i need to generate a line graph that uses the Y axis as the voltage and amp values, and the X axis represents a period of time. I've read over the help file in DPlot regarding developing plugins as well as the plugin examples and the DPlot.h header file, however i haven't found anything that suggests i can set the number format for the X axis.
I did see that in the DPlot help file, it shows an lpszCommands string for the DPLOT structure, but i could not find that in the DPlot.h header file (which supports up to version 4).
Am i missing something here? DPlot is a great solution for what i need, but i have to be able to represent dates and times along the X axis.